summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/gprs.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-01-22 13:12:15 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-22 13:12:15 +0100
commit62686f7719598790edf27b3ac940a4de023a2973 (patch)
treedb41ce3a6afea0a0b43749a61b16b2a22ddff33c /drivers/atmodem/gprs.c
parent55209a77c1d327465f4004fef6916a7de4138981 (diff)
downloadofono-62686f7719598790edf27b3ac940a4de023a2973.tar.bz2
atmodem: Add support for Gobi technology change handling
Diffstat (limited to 'drivers/atmodem/gprs.c')
-rw-r--r--drivers/atmodem/gprs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c
index 203a5f2e..0127a3a4 100644
--- a/drivers/atmodem/gprs.c
+++ b/drivers/atmodem/gprs.c
@@ -121,6 +121,14 @@ static void at_gprs_registration_status(struct ofono_gprs *gprs,
cbd->user = gd;
switch (gd->vendor) {
+ case OFONO_VENDOR_GOBI:
+ /*
+ * Send *CNTI=0 to find out the current tech, it will be
+ * intercepted in gobi_cnti_notify in network registration
+ */
+ g_at_chat_send(gd->chat, "AT*CNTI=0", none_prefix,
+ NULL, NULL, NULL);
+ break;
case OFONO_VENDOR_NOVATEL:
/*
* Send $CNTI=0 to find out the current tech, it will be