iface-modem: allow Command() while in Failed state
Allow the generic command API while in FAILED state, in case the modem integrator has some special commands to recover the device. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/163
This commit is contained in:
@@ -749,11 +749,6 @@ handle_command_auth_ready (MMBaseModem *self,
|
||||
return;
|
||||
}
|
||||
|
||||
if (abort_invocation_if_state_not_reached (ctx->self, ctx->invocation, MM_MODEM_STATE_LOCKED)) {
|
||||
handle_command_context_free (ctx);
|
||||
return;
|
||||
}
|
||||
|
||||
#if ! defined WITH_AT_COMMAND_VIA_DBUS
|
||||
/* If we are not in Debug mode, report an error */
|
||||
if (!mm_context_get_debug ()) {
|
||||
|
||||
Reference in New Issue
Block a user