      if (!MM_IFACE_MODEM_GET_INTERFACE (self)->command ||
          !MM_IFACE_MODEM_GET_INTERFACE (self)->command_finish) {
 -- 
-2.10.0
+2.7.4
 

     <method name="Command">
       <arg name="cmd"      type="s" direction="in"  />
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 7c31f9a..2625550 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -25,7 +25,6 @@
 #include "mm-base-sim.h"
 #include "mm-bearer-list.h"
 #include "mm-log.h"
-#include "mm-context.h"
 
 #define SIGNAL_QUALITY_RECENT_TIMEOUT_SEC        60
 #define SIGNAL_QUALITY_INITIAL_CHECK_TIMEOUT_SEC 3
@@ -698,17 +697,6 @@ handle_command_auth_ready (MMBaseModem *self,
         return;
     }
 

From 4ed3427eb3da4e1e7bf52443247e1303a4555ba7 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei@resin.io>
Date: Thu, 17 May 2018 13:21:28 +0100
Subject: [PATCH] Revert "iface-modem: the Command() method is only allowed
 when running in debug mode"

This reverts commit 64f49c0c7261d7de2eae03477cd69cf540184041.

Signed-off-by: Andrei Gherzan <andrei@resin.io>
---
 introspection/org.freedesktop.ModemManager1.Modem.xml |  9 +++------
 src/mm-iface-modem.c                                  | 12 ------------
 2 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml
index b84f208..325fc6c 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.xml
@@ -173,14 +173,11 @@
