summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2020-08-19 14:13:39 +0200
committerDenis Kenzior <denkenz@gmail.com>2020-08-19 09:57:09 -0500
commitdbc1fb62acbd896442cb6046e5768eba3aab7a22 (patch)
tree18dcdd3862f9c4d6f20be0eeae6454c7d23ab9b0
parent23c78bd316651e35d3bcc9120581a7ad1895c3f5 (diff)
downloadofono-dbc1fb62acbd896442cb6046e5768eba3aab7a22.tar.gz
atmodem: Deactivate AT+CPSB for quectel serial modems
There are at the moment two quectel modems in ofono vendored as OFONO_VENDOR_QUECTEL_SERIAL: The M95 and the MC60. Both modems are GSM only modems, and their official documentation does not mention the AT+CPSB command. I have a M95 here that gives an error on issuing the AT+CPSB=1 command. So skip this command for these two modems.
-rw-r--r--drivers/atmodem/gprs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c
index d829e2e6..68470f11 100644
--- a/drivers/atmodem/gprs.c
+++ b/drivers/atmodem/gprs.c
@@ -625,6 +625,7 @@ static void gprs_initialized(gboolean ok, GAtResult *result, gpointer user_data)
NULL, NULL, NULL);
break;
case OFONO_VENDOR_QUECTEL_EC2X:
+ case OFONO_VENDOR_QUECTEL_SERIAL:
break;
default:
g_at_chat_register(gd->chat, "+CPSB:", cpsb_notify,