iface-modem: fix modem state consolidation upon bearer disconnection
Patch "iface-modem: fix invalid modem state consolidation" (commit
69aff6183a
) incorrectly consolidates the
modem state upon the disconnection of a bearer. The modem state remains
'connected' after the last bearer is disconnected. This patch fixes
that.
This commit is contained in:

committed by
Aleksander Morgado

parent
add455c7e5
commit
bb73ce0aaf
@@ -270,7 +270,7 @@ bearer_status_changed (MMBearer *bearer,
|
||||
new_state = MM_MODEM_STATE_DISCONNECTING;
|
||||
break;
|
||||
case MM_BEARER_STATUS_DISCONNECTED:
|
||||
new_state = get_current_consolidated_state (self, state);
|
||||
new_state = get_current_consolidated_state (self, MM_MODEM_STATE_UNKNOWN);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user