mirror of git://git.sysmocom.de/ofono
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.
This commit is contained in:
parent
ab5dcea4fd
commit
00262e36db
|
@ -373,10 +373,6 @@ static void hfp_dial(struct ofono_voicecall *vc,
|
||||||
else
|
else
|
||||||
snprintf(buf, sizeof(buf), "ATD%s", ph->number);
|
snprintf(buf, sizeof(buf), "ATD%s", ph->number);
|
||||||
|
|
||||||
if ((clir != OFONO_CLIR_OPTION_DEFAULT) ||
|
|
||||||
(cug != OFONO_CUG_OPTION_DEFAULT))
|
|
||||||
goto error;
|
|
||||||
|
|
||||||
strcat(buf, ";");
|
strcat(buf, ";");
|
||||||
|
|
||||||
if (g_at_chat_send(vd->chat, buf, none_prefix,
|
if (g_at_chat_send(vd->chat, buf, none_prefix,
|
||||||
|
|
Loading…
Reference in New Issue