summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2013-08-25 01:25:28 -0500
committerDenis Kenzior <denkenz@gmail.com>2013-08-25 01:25:28 -0500
commitc912e0066aa04a4cc10f520296e655a11000e463 (patch)
treef0cd0b5a06e83f9a43fc2b42debcf65527bcc774 /drivers/hfpmodem/voicecall.c
parentfe36dec9a1e4056a08950f4cdf01ee60dde9b30b (diff)
downloadofono-c912e0066aa04a4cc10f520296e655a11000e463.tar.bz2
hfp: Set UDUB affected set to WAITING only
INCOMING calls are not affected by UDUB, only by +CHUP.
Diffstat (limited to 'drivers/hfpmodem/voicecall.c')
-rw-r--r--drivers/hfpmodem/voicecall.c3
1 files changed, 1 insertions, 2 deletions
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,