From 205b3b813a137a0ef5b976d7c31fab10211447c0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 20 Aug 2010 14:05:18 +0200 Subject: atmodem: Turn a STE GPRS quirk into a MBM and STE quirk --- drivers/atmodem/gprs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c index 6c1edc67..8e248778 100644 --- a/drivers/atmodem/gprs.c +++ b/drivers/atmodem/gprs.c @@ -227,8 +227,8 @@ static void at_cgreg_test_cb(gboolean ok, GAtResult *result, g_at_chat_send(gd->chat, cmd, none_prefix, NULL, NULL, NULL); g_at_chat_send(gd->chat, "AT+CGAUTO=0", none_prefix, NULL, NULL, NULL); - /* ST-E modem does not support AT+CGEREP = 2,1 */ - if (gd->vendor == OFONO_VENDOR_STE) + /* Ericsson MBM and ST-E modems do not support AT+CGEREP = 2,1 */ + if (gd->vendor == OFONO_VENDOR_MBM) g_at_chat_send(gd->chat, "AT+CGEREP=1,0", none_prefix, gprs_initialized, gprs, NULL); else -- cgit v1.2.3