From 7e852420e83fe216082e368d4b97b646ff47099b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 5 Aug 2011 22:51:02 +0200 Subject: [PATCH] zte: Set vendor quirk also for GPRS context atom --- plugins/zte.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/zte.c b/plugins/zte.c index 9c25a8f..9bbcefd 100644 --- a/plugins/zte.c +++ b/plugins/zte.c @@ -227,6 +227,8 @@ static int zte_enable(struct ofono_modem *modem) return -EIO; } + g_at_chat_set_slave(data->modem, data->aux); + g_at_chat_blacklist_terminator(data->aux, G_AT_CHAT_TERMINATOR_NO_CARRIER); @@ -343,7 +345,8 @@ static void zte_post_sim(struct ofono_modem *modem) "atmodem", data->aux); gprs = ofono_gprs_create(modem, OFONO_VENDOR_ZTE, "atmodem", data->aux); - gc = ofono_gprs_context_create(modem, 0, "atmodem", data->modem); + gc = ofono_gprs_context_create(modem, OFONO_VENDOR_ZTE, + "atmodem", data->modem); if (gprs && gc) ofono_gprs_add_context(gprs, gc); -- 2.7.4