projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe36dec
)
hfp: Set UDUB affected set to WAITING only
author
Denis Kenzior
<denkenz@gmail.com>
Sun, 25 Aug 2013 06:25:28 +0000
(
01:25
-0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Sun, 25 Aug 2013 06:25:28 +0000
(
01:25
-0500)
INCOMING calls are not affected by UDUB, only by +CHUP.
drivers/hfpmodem/voicecall.c
patch
|
blob
|
history
diff --git
a/drivers/hfpmodem/voicecall.c
b/drivers/hfpmodem/voicecall.c
index
39db69c
..
12f4253
100644
(file)
--- 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,