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,
        | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Aleksander Morgado
2020-01-31 10:01:25 +01:00
parent 72a124a121
commit 4a609e564a

View File

@@ -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);
}