aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-10-09 10:50:03 +0200
committerDan Williams <dcbw@redhat.com>2018-10-09 14:34:59 +0000
commitfa67a4f9bb014c947a9bb1c5f207ea787c8976b7 (patch)
tree20df8ae73356c74a6530448bfe549ce27364c802 /src
parentc7d5902c15957d1487c83f13614b155a18b5f2b6 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/mm-modem-helpers.c2
-rw-r--r--src/mm-modem-helpers.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c
index a1c7e9a2..296b9f3a 100644
--- a/src/mm-modem-helpers.c
+++ b/src/mm-modem-helpers.c
@@ -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)
{
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 30855f27..a2ee8254 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -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);