aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-12-01 22:59:32 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-12-01 22:08:41 +0000
commitf80c8d8be6a22accb71f06b33f53daed3d255bec (patch)
tree4169c914a688dc1dcc09bebade8542012e17f65a /src
parentd531992897fe4a99005da03e83c818dd138a06d5 (diff)
broadband-modem-qmi: fix reporting of signal strength indications
We had all the logic in place... but we were never actually enabling the signal strength indications because the `enable` flag in the context was never set. The bug was introduced back in May 2018, and released with 1.10.0. Fixes baefe53ab9c0ea0612d2bf7da64b6f6cf9753bcd
Diffstat (limited to 'src')
-rw-r--r--src/mm-broadband-modem-qmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index d61e4365..d5af5065 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -4909,6 +4909,7 @@ common_enable_disable_unsolicited_events (MMBroadbandModemQmi *self,
}
ctx = g_new0 (EnableUnsolicitedEventsContext, 1);
+ ctx->enable = enable;
ctx->client = g_object_ref (client);
g_task_set_task_data (task, ctx, (GDestroyNotify)enable_unsolicited_events_context_free);