From 15a99ebe55e8cc948295577f3dc0cdfd5616a883 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 4 Oct 2012 17:22:59 +0200 Subject: cli,firmware: no need to be enabled to run actions --- cli/mmcli-modem-firmware.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cli/mmcli-modem-firmware.c') diff --git a/cli/mmcli-modem-firmware.c b/cli/mmcli-modem-firmware.c index b76fc836..e0fcfb9a 100644 --- a/cli/mmcli-modem-firmware.c +++ b/cli/mmcli-modem-firmware.c @@ -115,11 +115,6 @@ context_free (Context *ctx) static void ensure_modem_firmware (void) { - if (mm_modem_get_state (mm_object_peek_modem (ctx->object)) < MM_MODEM_STATE_ENABLED) { - g_printerr ("error: modem not enabled yet\n"); - exit (EXIT_FAILURE); - } - if (!ctx->modem_firmware) { g_printerr ("error: modem has no firmware capabilities\n"); exit (EXIT_FAILURE); -- cgit v1.2.3-70-g09d2