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:
ab5dcea
)
Fix Don't check CLIR CUG option in hfp_dial
author
Zhenhua Zhang
<zhenhua.zhang@intel.com>
Tue, 9 Mar 2010 10:01:17 +0000
(18:01 +0800)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 9 Mar 2010 16:33:13 +0000
(10:33 -0600)
For HFP call, no need to check CLIR & CUG option. It doesn't affect dial
out string.
drivers/hfpmodem/voicecall.c
patch
|
blob
|
history
diff --git
a/drivers/hfpmodem/voicecall.c
b/drivers/hfpmodem/voicecall.c
index
1fa0eec
..
f83f26a
100644
(file)
--- a/
drivers/hfpmodem/voicecall.c
+++ b/
drivers/hfpmodem/voicecall.c
@@
-373,10
+373,6
@@
static void hfp_dial(struct ofono_voicecall *vc,
else
snprintf(buf, sizeof(buf), "ATD%s", ph->number);
- if ((clir != OFONO_CLIR_OPTION_DEFAULT) ||
- (cug != OFONO_CUG_OPTION_DEFAULT))
- goto error;
-
strcat(buf, ";");
if (g_at_chat_send(vd->chat, buf, none_prefix,