aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-05 11:28:19 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-05 11:28:37 +0200
commit0f8f345d79192a329161298ab4742dfdab548b1b (patch)
treed58ad4c6a6ffc29a13e9a5ac66c54e7db268c9db
parentf7433502104abe64f63310ddc5599eacb1b535cb (diff)
broadband-modem: export the Firmware interface even if locked
-rw-r--r--src/mm-broadband-modem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index 00a12763..aa892ad0 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -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;
}