novatel-lte: increase number of retries for connection status checks
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.
This commit is contained in:

committed by
Aleksander Morgado

parent
c4f0ad6905
commit
ba14d15df3
@@ -301,7 +301,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),
|
||||
@@ -353,7 +353,7 @@ detailed_disconnect_context_new (MMBroadbandBearer *self,
|
||||
callback,
|
||||
user_data,
|
||||
detailed_disconnect_context_new);
|
||||
ctx->retries = 4;
|
||||
ctx->retries = 60;
|
||||
return ctx;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user