diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-03 09:55:07 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-03 09:20:24 +0000 |
commit | 28869463a1f93d980c72ae4e8c7997c9be899535 (patch) | |
tree | f813bdd06d16edbdbb4478e4fb1190bb27bbcd65 /src | |
parent | 03e6375a95ace2c1c1ecd8b621fc90b7e86ebe8b (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-iface-modem.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 4247a7e3..a4be2f8b 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -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 ()) { |