From 21a5aaf4fe6934aad2e6c770aa4bdffa3ad29f9d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 20 Sep 2013 19:29:38 +0200 Subject: huawei: delay processing of network-initiated disconnection Originally developed by: Prathmesh Prabhu Ben Chan Huawei MU736 prematurely fires a ^NDISSTAT unsolicited message upon a network-initiated disconnection. The modem can go into a bad state if a reconnect attempt happens before the disconnection completes. This patch works around the issue by delaying the reporting of the disconnection. --- src/mm-bearer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/mm-bearer.h b/src/mm-bearer.h index dc217c50..c1bcaeee 100644 --- a/src/mm-bearer.h +++ b/src/mm-bearer.h @@ -70,6 +70,7 @@ typedef enum { /*< underscore_name=mm_bearer_status >*/ typedef enum { /*< underscore_name=mm_bearer_connection_status >*/ MM_BEARER_CONNECTION_STATUS_UNKNOWN, MM_BEARER_CONNECTION_STATUS_DISCONNECTED, + MM_BEARER_CONNECTION_STATUS_DISCONNECTING, MM_BEARER_CONNECTION_STATUS_CONNECTED, MM_BEARER_CONNECTION_STATUS_CONNECTION_FAILED, } MMBearerConnectionStatus; -- cgit v1.2.3-70-g09d2