[PATCH] huawei: reset disconnect_pending to NULL when ^NDISSTATQRY fails
Ben Chan
benchan at chromium.org
Wed Jul 31 00:59:26 PDT 2013
---
plugins/huawei/mm-broadband-bearer-huawei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
1.8.3
More information about the ModemManager-devel
mailing list