[PATCH] Current auth mode should be set as real auth type when authentication is in progress. Wpa has property "State" which indicating the authentication stage already. I think set auth mode as "INACTIVE" in all auth progress seems not good idea, because sometimes we need to handle this connection according to auth type even authentication is not complete. For exsample, NetworkManager may recall ask-password-dialog when auth mode is "wpa-psk" and "sae", try next access point when auth mode is "EAP-xx" when password is incorrect. Since "CurrentAuthMode" is set as "INACTIVE" in all situation, we do not know how to handle it.
j at w1.fi
Sat Mar 12 09:05:39 PST 2022
Jouni Malinen PGP id EFC895FA
More information about the Hostap