diff options
author | Ben Chan <benchan@chromium.org> | 2014-02-19 21:44:23 -0800 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-02-20 10:27:03 +0100 |
commit | 705dd0133d8a02c0bf2a2cfa3d8920030dc1392d (patch) | |
tree | cf32c90064c6c5ac58ac70cb9a61d3fce89a6aa4 /cli/mmcli-modem.c | |
parent | 1866aad9d3a628572fb8c22e5a7ae1ad1c7ad9d2 (diff) |
broadband-modem-mbim: handle network initiated disconnect
Observing registration updates via the MBIM_CID_REGISTER_STATE
notification alone is not always sufficient to detect if the modem is
disconnected from the network. In case of a network-initiated
disconnect, it is possible that the modem is disconnected from the
network but remains registered.
This patch modifies MMBroadbandModemMbim to subscribe to the
MBIM_CID_CONNECT notification. Upon receiving a notification of a
deactivated session ID, the corresponding bearer is reported as
disconnected.
Diffstat (limited to 'cli/mmcli-modem.c')
0 files changed, 0 insertions, 0 deletions