sierra-legacy: implement connection status monitoring with !SCACT?

Devices like the Netgear AC313U require explicit context monitoring,
otherwise the device may end up disconnected internally and MM would
still think that the connection is ongoing.
This commit is contained in:
Aleksander Morgado
2018-10-09 14:34:59 +00:00
committed by Dan Williams
parent c7d5902c15
commit fa67a4f9bb
7 changed files with 405 additions and 3 deletions
+1 -1
View File
@@ -1554,7 +1554,7 @@ mm_3gpp_pdp_context_active_list_free (GList *pdp_active_list)
g_list_free_full (pdp_active_list, (GDestroyNotify) mm_3gpp_pdp_context_active_free);
}
static gint
gint
mm_3gpp_pdp_context_active_cmp (MM3gppPdpContextActive *a,
MM3gppPdpContextActive *b)
{
+2
View File
@@ -181,6 +181,8 @@ typedef struct {
gboolean active;
} MM3gppPdpContextActive;
void mm_3gpp_pdp_context_active_list_free (GList *pdp_active_list);
gint mm_3gpp_pdp_context_active_cmp (MM3gppPdpContextActive *a,
MM3gppPdpContextActive *b);
GList *mm_3gpp_parse_cgact_read_response (const gchar *reply,
GError **error);