summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-09-13 15:17:15 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-09-13 15:17:54 +0200
commit77387cf604c8033a44d62253cf685493cc5d556d (patch)
tree362469546494ef00aed2358bcbc8209855bcaac2
parente75063d80a8b18a28a89116beb78e42fe85c0d56 (diff)
downloadModemManager-77387cf604c8033a44d62253cf685493cc5d556d.tar.gz
xmm: increase AT command timeout when updating bands/modes
Looks like sometimes it may take a bit more than 3s.
-rw-r--r--plugins/xmm/mm-shared-xmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xmm/mm-shared-xmm.c b/plugins/xmm/mm-shared-xmm.c
index b00610183..389889c6f 100644
--- a/plugins/xmm/mm-shared-xmm.c
+++ b/plugins/xmm/mm-shared-xmm.c
@@ -350,7 +350,7 @@ mm_shared_xmm_set_current_modes (MMIfaceModem *self,
mm_base_modem_at_command (
MM_BASE_MODEM (self),
command,
- 3,
+ 10,
FALSE,
(GAsyncReadyCallback)xact_set_modes_ready,
task);
@@ -529,7 +529,7 @@ out:
mm_base_modem_at_command (
MM_BASE_MODEM (self),
command,
- 3,
+ 10,
FALSE,
(GAsyncReadyCallback)xact_set_bands_ready,
task);