diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-iface-modem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 3f4c577b..17b3c295 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -753,6 +753,7 @@ handle_command_auth_ready (MMBaseModem *self, return; } +#if ! defined WITH_AT_COMMAND_VIA_DBUS /* If we are not in Debug mode, report an error */ if (!mm_context_get_debug ()) { g_dbus_method_invocation_return_error (ctx->invocation, @@ -763,6 +764,7 @@ handle_command_auth_ready (MMBaseModem *self, handle_command_context_free (ctx); return; } +#endif /* If command is not implemented, report an error */ if (!MM_IFACE_MODEM_GET_INTERFACE (self)->command || |