diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-09-23 10:03:37 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-17 08:31:46 +0000 |
commit | 7971844318b01851bc9565b8adb9fdbeef686451 (patch) | |
tree | 6aa44bf408df648ecb0b07e1485df848a4abeb59 /cli/mmcli-modem-voice.c | |
parent | ed3a1264af3bce088eb377553826c5b222330694 (diff) |
iface-modem-voice: all methods available even if not enabled
Diffstat (limited to 'cli/mmcli-modem-voice.c')
-rw-r--r-- | cli/mmcli-modem-voice.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/mmcli-modem-voice.c b/cli/mmcli-modem-voice.c index 87c27bef..9e54f8ea 100644 --- a/cli/mmcli-modem-voice.c +++ b/cli/mmcli-modem-voice.c @@ -168,11 +168,6 @@ context_free (Context *ctx) static void ensure_modem_voice (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_voice) { g_printerr ("error: modem has no voice capabilities\n"); exit (EXIT_FAILURE); |