aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-31 10:01:25 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-31 15:18:35 +0100
commit4a609e564a9ccce3312a98d4a4eec4613031313f (patch)
tree4c0a50c989677bfacb3a6f81f35c21314cac642c
parent72a124a1218d0658036561763473b830a2c26bb3 (diff)
ublox: fix disabling of unsolicited events
The incorrect ready() method was being used while disabling, which ended up making the parent disable not being run at all. ublox/mm-broadband-modem-ublox.c:1178:1: error: ‘voice_disable_unsolicited_events_ready’ defined but not used [-Werror=unused-function] 1178 | voice_disable_unsolicited_events_ready (MMBroadbandModemUblox *self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-rw-r--r--plugins/ublox/mm-broadband-modem-ublox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ublox/mm-broadband-modem-ublox.c b/plugins/ublox/mm-broadband-modem-ublox.c
index 83933d8d..d5ce452a 100644
--- a/plugins/ublox/mm-broadband-modem-ublox.c
+++ b/plugins/ublox/mm-broadband-modem-ublox.c
@@ -1203,7 +1203,7 @@ modem_voice_disable_unsolicited_events (MMIfaceModemVoice *self,
common_voice_enable_disable_unsolicited_events (MM_BROADBAND_MODEM_UBLOX (self),
FALSE,
- (GAsyncReadyCallback) voice_enable_unsolicited_events_ready,
+ (GAsyncReadyCallback) voice_disable_unsolicited_events_ready,
task);
}