ifxmodem: Remove setting of XPROGRESS notifications
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Sep 2010 15:21:23 +0000 (00:21 +0900)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Sep 2010 15:21:23 +0000 (00:21 +0900)
The XPROGRESS notifcations are now handled inside an Infineon specific
audio settings driver. So no need to do that in the the voice call
driver as well.

drivers/ifxmodem/voicecall.c

index f229905..efc90db 100644 (file)
@@ -703,11 +703,11 @@ static int ifx_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor,
 
        ofono_voicecall_set_data(vc, vd);
 
+       g_at_chat_send(chat, "AT+XCALLSTAT=1", none_prefix, NULL, NULL, NULL);
+
        g_at_chat_send(vd->chat, "AT+CRC=1", none_prefix, NULL, NULL, NULL);
        g_at_chat_send(vd->chat, "AT+CLIP=1", none_prefix, NULL, NULL, NULL);
        g_at_chat_send(vd->chat, "AT+COLP=1", none_prefix, NULL, NULL, NULL);
-       g_at_chat_send(chat, "AT+XCALLSTAT=1", none_prefix, NULL, NULL, NULL);
-       g_at_chat_send(chat, "AT+XPROGRESS=1", none_prefix, NULL, NULL, NULL);
        g_at_chat_send(vd->chat, "AT+CCWA=1", none_prefix,
                                ifx_voicecall_initialized, vc, NULL);