[PATCH] huawei: reset disconnect_pending to NULL when ^NDISSTATQRY fails
Aleksander Morgado
aleksander at lanedo.com
Wed Jul 31 08:00:39 PDT 2013
On 31/07/13 09:59, Ben Chan wrote:
> ---
> plugins/huawei/mm-broadband-bearer-huawei.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks; pushed to git master and mm-1-0.
>
> diff --git a/plugins/huawei/mm-broadband-bearer-huawei.c b/plugins/huawei/mm-broadband-bearer-huawei.c
> index 1f330d3..13499e0 100644
> --- a/plugins/huawei/mm-broadband-bearer-huawei.c
> +++ b/plugins/huawei/mm-broadband-bearer-huawei.c
> @@ -483,7 +483,7 @@ disconnect_ndisstatqry_check_ready (MMBaseModem *modem,
> mm_dbg ("Modem doesn't properly support ^NDISSTATQRY command: %s", error->message);
> g_error_free (error);
>
> - ctx->self->priv->connect_pending = NULL;
> + ctx->self->priv->disconnect_pending = NULL;
> g_simple_async_result_set_error (ctx->result,
> MM_MOBILE_EQUIPMENT_ERROR,
> MM_MOBILE_EQUIPMENT_ERROR_NOT_SUPPORTED,
>
--
Aleksander
More information about the ModemManager-devel
mailing list