For HFP call, no need to check CLIR & CUG option. It doesn't affect dial
out string.
---
 drivers/hfpmodem/voicecall.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 1fa0eec..f83f26a 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,
-- 
1.6.6.1

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to