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:
Zhenhua Zhang 2010-03-09 18:01:17 +08:00 committed by Denis Kenzior
parent ab5dcea4fd
commit 00262e36db
1 changed files with 0 additions and 4 deletions

View File

@ -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,