From a0e19630e4dafbff51ae9a7e1f815ee98167f37d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 19 Sep 2012 08:07:21 +0200 Subject: [PATCH] icera: we won't be implementing power-down during init Some Icera-based modems (e.g. Samsung/Icera Y3300/Y3400) may take a loong time to run the power down command (see commit 5f1a1cf8). So, for these modems we will fully skip the power down command run during initialization. --- plugins/icera/mm-broadband-modem-icera.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/icera/mm-broadband-modem-icera.c b/plugins/icera/mm-broadband-modem-icera.c index c6b76f23..db702527 100644 --- a/plugins/icera/mm-broadband-modem-icera.c +++ b/plugins/icera/mm-broadband-modem-icera.c @@ -1646,6 +1646,8 @@ iface_modem_init (MMIfaceModem *iface) iface->load_supported_bands_finish = modem_load_supported_bands_finish; iface->load_current_bands = modem_load_current_bands; iface->load_current_bands_finish = modem_load_current_bands_finish; + /* Note: don't implement modem_init_power_down, as CFUN=4 here may take + * looong to reply */ iface->modem_power_down = modem_power_down; iface->modem_power_down_finish = modem_power_down_finish; iface->reset = modem_reset;