Skip to content

wifi: Handle invalid-key case on WPA-SAE authentication failure

Task https://phabricator.apertis.org/T9217#298380

On WPA3-SAE authentication, wpa_supplicant goes directly from authenticating to disconnected state if the key was invalid.

The above is currently not handled and the connect-failed error is reported on such cases. In order to make the client agent prompt for a new password, we need to handle this transition and report the invalid-key error.

Signed-off-by: Ariel D'Alessandro ariel.dalessandro@collabora.com

Edited by Ariel D'Alessandro

Merge request reports