diff options
Diffstat (limited to 'src/mbimcli/mbimcli.c')
-rw-r--r-- | src/mbimcli/mbimcli.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mbimcli/mbimcli.c b/src/mbimcli/mbimcli.c index 76183fd..27bb634 100644 --- a/src/mbimcli/mbimcli.c +++ b/src/mbimcli/mbimcli.c @@ -272,6 +272,9 @@ device_open_ready (MbimDevice *dev, case MBIM_SERVICE_MS_HOST_SHUTDOWN: mbimcli_ms_host_shutdown_run (dev, cancellable); return; + case MBIM_SERVICE_ATDS: + mbimcli_atds_run (dev, cancellable); + return; default: g_assert_not_reached (); } @@ -343,6 +346,9 @@ parse_actions (void) } else if (mbimcli_ms_host_shutdown_options_enabled ()) { service = MBIM_SERVICE_MS_HOST_SHUTDOWN; actions_enabled++; + } else if (mbimcli_atds_options_enabled ()) { + service = MBIM_SERVICE_ATDS; + actions_enabled++; } /* Noop */ @@ -384,6 +390,8 @@ int main (int argc, char **argv) mbimcli_ms_firmware_id_get_option_group ()); g_option_context_add_group (context, mbimcli_ms_host_shutdown_get_option_group ()); + g_option_context_add_group (context, + mbimcli_atds_get_option_group ()); g_option_context_add_main_entries (context, main_entries, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("error: %s\n", |