From 0f8f345d79192a329161298ab4742dfdab548b1b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 5 Oct 2012 11:28:19 +0200 Subject: [PATCH] broadband-modem: export the Firmware interface even if locked --- src/mm-broadband-modem.c | 5 +++-- 1 file 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; }