summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/gprs.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-08-20 14:05:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-08-20 14:05:18 +0200
commit205b3b813a137a0ef5b976d7c31fab10211447c0 (patch)
tree820d0ecf216f36734c677c8fda4955980679002c /drivers/atmodem/gprs.c
parente175760bda2945b781e3d2dc5ca8315ced9c6c8e (diff)
downloadofono-205b3b813a137a0ef5b976d7c31fab10211447c0.tar.bz2
atmodem: Turn a STE GPRS quirk into a MBM and STE quirk
Diffstat (limited to 'drivers/atmodem/gprs.c')
-rw-r--r--drivers/atmodem/gprs.c4
1 files 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