[MM] [PATCH v3] novatel-lte: increase number of retries for connection status checks
- From: Ben Chan <benchan chromium org>
- To: networkmanager-list gnome org
- Cc: Aleksander Morgado <aleksander lanedo com>
- Subject: [MM] [PATCH v3] novatel-lte: increase number of retries for connection status checks
- Date: Tue, 28 May 2013 08:29:49 -0700
This patch increases the number of retries, from 4 to 60, for connection
status check during a connection / disconnection request, which handles
some scenario when the connection / disconnection request takes more
than 5 seconds to complete.
---
plugins/novatel/mm-broadband-bearer-novatel-lte.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/novatel/mm-broadband-bearer-novatel-lte.c
b/plugins/novatel/mm-broadband-bearer-novatel-lte.c
index 31c5650..e0227da 100644
--- a/plugins/novatel/mm-broadband-bearer-novatel-lte.c
+++ b/plugins/novatel/mm-broadband-bearer-novatel-lte.c
@@ -281,7 +281,7 @@ connect_3gpp (MMBroadbandBearer *self,
callback,
user_data,
connect_3gpp);
- ctx->retries = 4;
+ ctx->retries = 60;
/* Get a 'net' data port */
ctx->data = mm_base_modem_get_best_data_port (MM_BASE_MODEM (modem),
@@ -333,7 +333,7 @@ detailed_disconnect_context_new (MMBroadbandBearer *self,
callback,
user_data,
detailed_disconnect_context_new);
- ctx->retries = 4;
+ ctx->retries = 60;
return ctx;
}
--
1.8.2.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]