diff options
author | Arman Uguray <armansito@chromium.org> | 2013-03-06 13:36:41 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-03-06 15:53:47 -0600 |
commit | 9e0a53e697ff704df3c7db53412488ec27b04d43 (patch) | |
tree | 9538865aeaab0e623e7318d827cb7f3047d2a8ec /cli | |
parent | d106b89b7ba8d055c96c682231dad6828b77fe95 (diff) | |
download | external_libqmi-9e0a53e697ff704df3c7db53412488ec27b04d43.zip external_libqmi-9e0a53e697ff704df3c7db53412488ec27b04d43.tar.gz external_libqmi-9e0a53e697ff704df3c7db53412488ec27b04d43.tar.bz2 |
cli: fix call to --dms-activate-automatic
--dms-activate-automatic incorrectly calls
qmi_client_dms_get_activation_state. This patch corrects it
so that it calls qmi_client_dms_activate_automatic.
Diffstat (limited to 'cli')
-rw-r--r-- | cli/qmicli-dms.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/qmicli-dms.c b/cli/qmicli-dms.c index 850f52d..86e1ff5 100644 --- a/cli/qmicli-dms.c +++ b/cli/qmicli-dms.c @@ -3201,12 +3201,12 @@ qmicli_dms_run (QmiDevice *device, shutdown (FALSE); return; } - qmi_client_dms_get_activation_state (ctx->client, - NULL, - 10, - ctx->cancellable, - (GAsyncReadyCallback)activate_automatic_ready, - NULL); + qmi_client_dms_activate_automatic (ctx->client, + input, + 10, + ctx->cancellable, + (GAsyncReadyCallback)activate_automatic_ready, + NULL); qmi_message_dms_activate_automatic_input_unref (input); return; } |