In preparation for EAP authentication, the WPA encryption setup has been refactored to handle different network protocols more gracefully. The password prompt for standard setups is now isolated to trigger only when WPA-PSK or WPA2-PSK is detected, rather than unconditionally upfront. This structural change ensures that upcoming EAP configurations can handle their own distinct credential logic without clashing.

Refactored WPA authentication logic in wifish to pave the way for EAP support. - zhengqunkoo/wifish