[PATCH] cli: fix call to --dms-activate-automatic
Dan Williams
dcbw at redhat.com
Wed Mar 6 13:55:03 PST 2013
On Wed, 2013-03-06 at 13:36 -0800, armansito at chromium.org wrote:
> From: Arman Uguray <armansito at chromium.org>
>
> --dms-activate-automatic incorrectly calls
> qmi_client_dms_get_activation_state. This patch corrects it
> so that it calls qmi_client_dms_activate_automatic.
Pushed, thanks!
Dan
> ---
> cli/qmicli-dms.c | 12 ++++++------
> 1 file 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;
> }
More information about the libqmi-devel
mailing list