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.
This commit is contained in:
Aleksander Morgado
2012-09-19 08:07:21 +02:00
parent 77208f66ab
commit a0e19630e4

View File

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