diff options
-rw-r--r-- | plugins/telit/mm-broadband-modem-telit.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/telit/mm-broadband-modem-telit.c b/plugins/telit/mm-broadband-modem-telit.c index f077405c..995ae6a9 100644 --- a/plugins/telit/mm-broadband-modem-telit.c +++ b/plugins/telit/mm-broadband-modem-telit.c @@ -1056,6 +1056,14 @@ modem_after_power_up (MMIfaceModem *self, /*****************************************************************************/ /* Modem power down (Modem interface) */ +static gboolean +modem_power_down_finish (MMIfaceModem *self, + GAsyncResult *res, + GError **error) +{ + return g_task_propagate_boolean (G_TASK (res), error); +} + static void telit_modem_power_down_ready (MMBaseModem *self, GAsyncResult *res, @@ -1077,14 +1085,6 @@ telit_modem_power_down_ready (MMBaseModem *self, g_object_unref (task); } -static gboolean -modem_power_down_finish (MMIfaceModem *self, - GAsyncResult *res, - GError **error) -{ - return g_task_propagate_boolean (G_TASK (res), error); -} - static void modem_power_down (MMIfaceModem *self, GAsyncReadyCallback callback, |