From fb009fafd6ac60546ee2f69a1b34402fb2744753 Mon Sep 17 00:00:00 2001 From: Guillaume Zajac Date: Mon, 12 Dec 2011 17:13:32 +0100 Subject: speedupcdma: Tweak plugin to notify dormant state --- plugins/speedupcdma.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/speedupcdma.c b/plugins/speedupcdma.c index 3b398aa7..fbf516c5 100644 --- a/plugins/speedupcdma.c +++ b/plugins/speedupcdma.c @@ -37,6 +37,8 @@ #include #include +#include "drivers/atmodem/vendor.h" + struct speedupcdma_data { GAtChat *modem; GAtChat *aux; @@ -146,6 +148,8 @@ static int speedupcdma_enable(struct ofono_modem *modem) return -EIO; } + g_at_chat_set_slave(data->modem, data->aux); + g_at_chat_send(data->modem, "ATE0 &C0 +CMEE=1", NULL, NULL, NULL, NULL); g_at_chat_send(data->aux, "ATE0 &C0 +CMEE=1", NULL, NULL, NULL, NULL); @@ -210,7 +214,8 @@ static void speedupcdma_post_online(struct ofono_modem *modem) DBG("%p", modem); - ofono_cdma_connman_create(modem, 0, "cdmamodem", data->modem); + ofono_cdma_connman_create(modem, OFONO_VENDOR_HUAWEI, "cdmamodem", + data->modem); } static struct ofono_modem_driver speedupcdma_driver = { -- cgit v1.2.3