about summary refs log tree commit diff
path: root/src/devices/wwan
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-12-06 21:58:58 +0100
committerMichael Biebl <biebl@debian.org>2020-12-06 21:58:58 +0100
commitec4fca2f78286742ae7f8313c2ee2124c1467b0c (patch)
treeb0c65baa44cb6f1146905601e26bec0385309c65 /src/devices/wwan
parent9c050d4b4b3b85760abead778d68a63b1fde0a02 (diff)
parent65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff)
Update upstream source from tag 'upstream/1.28.0'
Update to upstream version '1.28.0'
with Debian dir 1448deb268c4818d41653eb95896b4228b7c3f72
Diffstat (limited to 'src/devices/wwan')
-rw-r--r--src/devices/wwan/nm-modem-broadband.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/wwan/nm-modem-broadband.c b/src/devices/wwan/nm-modem-broadband.c
index 633878ce..7b3a13a3 100644
--- a/src/devices/wwan/nm-modem-broadband.c
+++ b/src/devices/wwan/nm-modem-broadband.c
@@ -39,8 +39,11 @@ MODEM_CAPS_3GPP(MMModemCapability caps)
 
 #define MODEM_CAPS_3GPP2(caps) (caps & (MM_MODEM_CAPABILITY_CDMA_EVDO))
 
-/* Maximum time to keep the DBus call waiting for a connection result */
-#define MODEM_CONNECT_TIMEOUT_SECS 120
+/* Maximum time to keep the DBus call waiting for a connection result.
+ * This value is greater than the default timeout in ModemManager (180s since
+ * 1.16), so that whenever possible the timeout happens first there instead of
+ * in NetworkManager. */
+#define MODEM_CONNECT_TIMEOUT_SECS 200
 
 /*****************************************************************************/