diff options
-rw-r--r-- | plugins/speedupcdma.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 <ofono/cdma-connman.h> #include <ofono/log.h> +#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 = { |