summaryrefslogtreecommitdiff
path: root/src/modem-manager/nm-modem.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-02-08 07:52:24 -0600
committerDan Williams <dcbw@redhat.com>2014-02-21 09:45:06 -0600
commit12787f85656830be55296e96eb4553f3f301ab69 (patch)
tree9306f3561b8be90716b13c3c8c28d2cd2d1c81e6 /src/modem-manager/nm-modem.h
parentf8dcab53d9ccdb9203d2f63872926c83413add52 (diff)
downloadNetworkManager-12787f85656830be55296e96eb4553f3f301ab69.tar.gz
mobile: fix disconnection on deactivation
When c4fc72c7 began using the DEACTIVATING state, the modem code wasn't updated to handle this. Because it only checked for activating or ACTIVATED states to determine whether the modem was previously connected, and thus when an MM disconnect was needed, when the device enters the DISCONNECTED state it was no longer considered previously active, and not disconnected. Also, remove the NEED_AUTH handling from the modem code's device state switch, because it does not appear to be needed. The modem will only enter NEED_AUTH when it requires PAP/CHAP secrets during the connection attempt or when a PIN is required before enabling the modem. In both cases the modem won't yet be connected, so this code will never be hit.
Diffstat (limited to 'src/modem-manager/nm-modem.h')
0 files changed, 0 insertions, 0 deletions