cinterion: increase ^SCFG? timeout to 120s

The timeout in this command is extremely large, because there are some
modules like the EGS5 that build the response based on the current
network registration, and that implies the module needs to be
registered. If for any reason there is no serving network where to
register, the response comes after a very long time, up to 100s.

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/408
This commit is contained in:
Aleksander Morgado
2021-07-29 12:54:21 +02:00
parent 2590c4f0d7
commit b935782010

View File

@@ -2032,9 +2032,14 @@ load_current_bands (MMIfaceModem *self,
task = g_task_new (self, NULL, callback, user_data);
/* The timeout in this command is extremely large, because there are some
* modules like the EGS5 that build the response based on the current network
* registration, and that implies the module needs to be registered. If for
* any reason there is no serving network where to register, the response
* comes after a very long time, up to 100s. */
mm_base_modem_at_command (MM_BASE_MODEM (self),
"AT^SCFG?",
3,
120,
FALSE,
(GAsyncReadyCallback)get_band_ready,
task);