[PATCH] broadband-modem-mbim: increase timeout for powering modem up and down

Ben Chan benchan at chromium.org
Thu Jul 17 00:19:41 PDT 2014


It's been observed that some modems occasionally take a long time to
power down (which may be due to some shutdown sequence that involves
communicating with network). This patch increases the timeout for
powering modem up and down from 10s to 20s.
---
FWIW, mm-broadband-modem-qmi also uses a 20s timeout for qmi_message_dms_set_operating_mode.


 src/mm-broadband-modem-mbim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index b2f9deb..37dd0a2 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -1036,7 +1036,7 @@ common_power_up_down (MMIfaceModem *self,
     message = mbim_message_radio_state_set_new (state, NULL);
     mbim_device_command (device,
                          message,
-                         10,
+                         20,
                          NULL,
                          ready_cb,
                          result);
-- 
2.0.0.526.g5318336



More information about the ModemManager-devel mailing list