From: Felix Fietkau Date: Wed, 25 Jun 2025 11:25:57 +0000 (+0200) Subject: wifi-scripts: fix another regression in the ucode auth_type changes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126dc7ddb95540787b16429eebac5a0acb9a42c7;p=thirdparty%2Fopenwrt.git wifi-scripts: fix another regression in the ucode auth_type changes Clear the right variable Handle psk2 explicitly Signed-off-by: Felix Fietkau --- diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc index 6601a30689f..780cab8a630 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc @@ -43,7 +43,7 @@ export function parse_encryption(config, dev_config) { case 'psk': case 'psk-mixed': config.auth_type = "psk"; - config.wpa_pairwise = null; + wpa3_pairwise = null; break; case 'sae': @@ -60,11 +60,16 @@ export function parse_encryption(config, dev_config) { case 'wpa2': case 'wpa-mixed': config.auth_type = 'eap'; - config.wpa_pairwise = null; + wpa3_pairwise = null; + break; + + case 'psk2': + wpa3_pairwise = null; break; default: config.wpa_pairwise = null; + wpa3_pairwise = null; break; }