aboutsummaryrefslogtreecommitdiff
path: root/src/mm-auth.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2013-01-23 17:16:52 -0800
committerAleksander Morgado <aleksander@lanedo.com>2013-01-24 09:08:44 +0100
commit69aff6183a9e6532b4074c89831d6dcfa81ddcce (patch)
tree3bf51374fc4eb3715c9785d3f760a0f0df414440 /src/mm-auth.c
parent9d5794e9e4e86239f450042223dc606b3472c067 (diff)
iface-modem: fix invalid modem state consolidation
ModemManager has a bogus modem state transition from 'enabling' to 'disabled': ModemManager[26214]: <info> Modem fully enabled... ModemManager[26214]: <info> Modem /org/freedesktop/ModemManager1/Modem/2: state changed (enabling -> disabled) The root cause seems to be the following: get_current_consolidated_state() in MMIfaceModem returns MM_MODEM_STATE_DISABLED as the default fallback value. When mm_iface_modem_update_state() is invoked to transition the modem state from MM_MODEM_STATE_ENABLING to MM_MODEM_STATE_ENABLED, the following code can potentially cause the final state to be MM_MODEM_STATE_DISABLED instead. /* Enabled may really be searching or registered */ if (new_state == MM_MODEM_STATE_ENABLED) new_state = get_current_consolidated_state (self); https://code.google.com/p/chromium-os/issues/detail?id=38173
Diffstat (limited to 'src/mm-auth.c')
0 files changed, 0 insertions, 0 deletions