diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-broadband-modem.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index 37c1e21e..d24d72c4 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -528,10 +528,17 @@ load_equipment_identifier (MMIfaceModem *self, GAsyncReadyCallback callback, gpointer user_data) { + const MMBaseModemAtCommand *commands = equipment_identifiers; + mm_dbg ("loading equipment identifier..."); + + /* On CDMA-only (non-3GPP) modems, just try +GSN */ + if (mm_iface_modem_is_cdma_only (self)) + commands++; + mm_base_modem_at_sequence ( MM_BASE_MODEM (self), - equipment_identifiers, + commands, NULL, /* response_processor_context */ NULL, /* response_processor_context_free */ NULL, /* cancellable */ |