Re: [MM] [PATCH v3] novatel-lte: increase number of retries for connection status checks



On 05/28/2013 05:29 PM, Ben Chan wrote:
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.
---

Pushed, thanks!

 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;
 }
 



-- 
Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]