aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-02-19 21:44:23 -0800
committerAleksander Morgado <aleksander@aleksander.es>2014-02-20 10:27:03 +0100
commit705dd0133d8a02c0bf2a2cfa3d8920030dc1392d (patch)
treecf32c90064c6c5ac58ac70cb9a61d3fce89a6aa4 /cli/mmcli-modem.c
parent1866aad9d3a628572fb8c22e5a7ae1ad1c7ad9d2 (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