aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-firmware.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-04 17:22:59 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-04 18:52:47 +0200
commit15a99ebe55e8cc948295577f3dc0cdfd5616a883 (patch)
tree4d51a8372116376e3508aefa989ef0ec11661098 /cli/mmcli-modem-firmware.c
parent0d00ee28be0e82227dd6795ab62669944fb7076f (diff)
cli,firmware: no need to be enabled to run actions
Diffstat (limited to 'cli/mmcli-modem-firmware.c')
-rw-r--r--cli/mmcli-modem-firmware.c5
1 files changed, 0 insertions, 5 deletions
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);