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:
@@ -1203,7 +1203,7 @@ modem_voice_disable_unsolicited_events (MMIfaceModemVoice *self,
|
|||||||
|
|
||||||
common_voice_enable_disable_unsolicited_events (MM_BROADBAND_MODEM_UBLOX (self),
|
common_voice_enable_disable_unsolicited_events (MM_BROADBAND_MODEM_UBLOX (self),
|
||||||
FALSE,
|
FALSE,
|
||||||
(GAsyncReadyCallback) voice_enable_unsolicited_events_ready,
|
(GAsyncReadyCallback) voice_disable_unsolicited_events_ready,
|
||||||
task);
|
task);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user