broadband-modem: export the Firmware interface even if locked

This commit is contained in:
Aleksander Morgado
2012-10-05 11:28:37 +02:00
parent f743350210
commit 0f8f345d79
+3 -2
View File
@@ -7530,8 +7530,9 @@ iface_modem_initialize_ready (MMBroadbandModem *self,
* the initialization sequence. Instead, we will re-initialize once
* we are unlocked. */
if (ctx->self->priv->modem_state == MM_MODEM_STATE_LOCKED) {
/* Jump to the Simple interface. */
ctx->step = INITIALIZE_STEP_IFACE_SIMPLE;
/* Jump to the Firmware interface. We do allow modems to export
* both the Firmware and Simple interfaces when locked. */
ctx->step = INITIALIZE_STEP_IFACE_FIRMWARE;
initialize_step (ctx);
return;
}