atmodem: Turn a STE GPRS quirk into a MBM and STE quirk

This commit is contained in:
Marcel Holtmann 2010-08-20 14:05:18 +02:00
parent e175760bda
commit 205b3b813a
1 changed files with 2 additions and 2 deletions

View File

@ -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