Commit c66c3bf8 authored by Guillaume Desmottes's avatar Guillaume Desmottes

connectivity: consider that network is disconnected if state is NM_STATE_ASLEEP (#647793)

parent 1b4bb48e
......@@ -111,6 +111,7 @@ connectivity_nm_state_change_cb (NMClient *client,
#if NM_CHECK_VERSION(0,8,992)
|| state == NM_STATE_DISCONNECTING
#endif
|| state == NM_STATE_ASLEEP
|| state == NM_STATE_DISCONNECTED);
DEBUG ("New NetworkManager network state %d (connected: %s)", state,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment