summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem/voicecall.c
diff options
context:
space:
mode:
authorZhenhua Zhang <zhenhua.zhang@intel.com>2010-03-09 18:01:17 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-03-09 10:33:13 -0600
commit00262e36dbf5fff2c780afe19cbc3154926bba26 (patch)
treee6b49323f3945f5e37a0a9290fc547e25844f43c /drivers/hfpmodem/voicecall.c
parentab5dcea4fdb931d62b931dd2dd71b8b8dd1ada69 (diff)
downloadofono-00262e36dbf5fff2c780afe19cbc3154926bba26.tar.bz2
Fix Don't check CLIR CUG option in hfp_dial
For HFP call, no need to check CLIR & CUG option. It doesn't affect dial out string.
Diffstat (limited to 'drivers/hfpmodem/voicecall.c')
-rw-r--r--drivers/hfpmodem/voicecall.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 1fa0eec0..f83f26ab 100644
--- 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,