This fixes issues connecting to a variety of WPA2/3 networks that are
due to deciding authentication needs based on the composite set of flags
supplied by the wpa_supplicant.
This commit is not perfect. It doesn't differentiate password
requirement differences between WPA2 and WPA3, for example. However, I
think it's a good step in the right direction. Basically, all pre-shared
key networks use the password dialog and all enterprise networks go
through the username/password dialog now.
This fixes issues connecting to a variety of WPA2/3 networks that are due to deciding authentication needs based on the composite set of flags supplied by the wpa_supplicant.
This commit is not perfect. It doesn't differentiate password requirement differences between WPA2 and WPA3, for example. However, I think it's a good step in the right direction. Basically, all pre-shared key networks use the password dialog and all enterprise networks go through the username/password dialog now.