NetworkManagerDevice.stateReason only returns NetworkManagerDeviceState.unknown and NetworkManagerDeviceStateReason.unknown while NetworkManagerDevice.state returns appropriate states however it's not granular enough.
Any workarounds for now? I need to check if someone entered an invalid password when attempting to connect to a wireless network and NetworkManagerDevice.state never changes to the need_auth state even though journalctl shows that network manager changes to that state.
NetworkManagerDevice.stateReason
only returnsNetworkManagerDeviceState.unknown
andNetworkManagerDeviceStateReason.unknown
whileNetworkManagerDevice.state
returns appropriate states however it's not granular enough.Any workarounds for now? I need to check if someone entered an invalid password when attempting to connect to a wireless network and
NetworkManagerDevice.state
never changes to theneed_auth
state even thoughjournalctl
shows that network manager changes to that state.