From c912e0066aa04a4cc10f520296e655a11000e463 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sun, 25 Aug 2013 01:25:28 -0500 Subject: hfp: Set UDUB affected set to WAITING only INCOMING calls are not affected by UDUB, only by +CHUP. --- drivers/hfpmodem/voicecall.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/hfpmodem/voicecall.c') diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 39db69cd..12f42539 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -471,8 +471,7 @@ static void hfp_set_udub(struct ofono_voicecall *vc, ofono_voicecall_cb_t cb, void *data) { struct voicecall_data *vd = ofono_voicecall_get_data(vc); - unsigned int incoming_or_waiting = - (1 << CALL_STATUS_INCOMING) | (1 << CALL_STATUS_WAITING); + unsigned int incoming_or_waiting = 1 << CALL_STATUS_WAITING; if (vd->ag_mpty_features & AG_CHLD_0) { hfp_template("AT+CHLD=0", vc, generic_cb, incoming_or_waiting, -- cgit v1.2.3