---
 drivers/ifxmodem/stk.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/ifxmodem/stk.c b/drivers/ifxmodem/stk.c
index 1a1805c..5951149 100644
--- a/drivers/ifxmodem/stk.c
+++ b/drivers/ifxmodem/stk.c
@@ -46,7 +46,7 @@ struct stk_data {
 
 static const char *none_prefix[] = { NULL };
 static const char *sate_prefix[] = { "+SATE:", NULL };
-static const char *cfun_prefix[] = { "+CFUN:", NULL };
+static const char *xsatk_prefix[] = { "+XSATK:", NULL };
 
 static void sate_cb(gboolean ok, GAtResult *result, gpointer user_data)
 {
@@ -244,7 +244,7 @@ static void satf_notify(GAtResult *result, gpointer 
user_data)
                ofono_stk_proactive_session_end_notify(stk);
 }
 
-static void cfun_support_cb(gboolean ok, GAtResult *result,
+static void xsatk_support_cb(gboolean ok, GAtResult *result,
                                                gpointer user_data)
 {
        struct ofono_stk *stk = user_data;
@@ -259,8 +259,7 @@ static void cfun_support_cb(gboolean ok, GAtResult *result,
        g_at_chat_register(sd->chat, "+SATN:", satn_notify, FALSE, stk, NULL);
        g_at_chat_register(sd->chat, "+SATF:", satf_notify, FALSE, stk, NULL);
 
-       g_at_chat_send(sd->chat, "AT+CFUN=6", none_prefix,
-                                               NULL, NULL, NULL);
+       g_at_chat_send(sd->chat, "AT+XSATK=1,1", none_prefix, NULL, NULL, NULL);
 
        ofono_stk_register(stk);
 }
@@ -280,8 +279,8 @@ static int ifx_stk_probe(struct ofono_stk *stk, unsigned 
int vendor, void *data)
 
        ofono_stk_set_data(stk, sd);
 
-       g_at_chat_send(sd->chat, "AT+CFUN=?", cfun_prefix,
-                                       cfun_support_cb, stk, NULL);
+       g_at_chat_send(sd->chat, "AT+XSATK=?", xsatk_prefix, xsatk_support_cb,
+                       stk, NULL);
 
        return 0;
 }
-- 
1.7.0.4

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

Reply via email to