mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-02 00:56:19 -05:00
The ucode wifi-scripts unconditionally set ieee80211w=1 for psk-sae and eap-eap2 auth types, ignoring any user-configured value. This caused ieee80211w=2 (MFP required) to be silently downgraded to 1 (MFP optional) when using sae-mixed encryption. Change the logic to only set the default of 1 when ieee80211w is not already configured by the user. Fixes: https://github.com/openwrt/openwrt/issues/21751 Signed-off-by: Felix Fietkau <nbd@nbd.name>