diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-09-20 19:29:38 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-09-23 08:29:21 +0200 |
commit | 21a5aaf4fe6934aad2e6c770aa4bdffa3ad29f9d (patch) | |
tree | fdbd5f0e84029773585572a6e8312f7069e35019 /src | |
parent | d818d9fe065b4baac979abf5c45e0d212ccf908d (diff) |
huawei: delay processing of network-initiated disconnection
Originally developed by:
Prathmesh Prabhu <pprabhu@chromium.org>
Ben Chan <benchan@chromium.org>
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-bearer.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |