From 00262e36dbf5fff2c780afe19cbc3154926bba26 Mon Sep 17 00:00:00 2001 From: Zhenhua Zhang Date: Tue, 9 Mar 2010 18:01:17 +0800 Subject: [PATCH] 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. --- drivers/hfpmodem/voicecall.c | 4 ---- 1 file changed, 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,