diff options
| author | Rany Hany | 2025-11-23 23:21:29 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-11-24 23:37:46 +0000 |
| commit | 7ea659503aba6611bd4d660a4adec256ca53385f (patch) | |
| tree | 8be8185aa8c67d9d219f0283daa383decfe08190 | |
| parent | 29a9c3feb12893886168057caae2153824e74d55 (diff) | |
| download | openwrt-7ea659503aba6611bd4d660a4adec256ca53385f.tar.gz | |
wifi-scripts: ucode: add missing config.auth_type assignment for psk2
This ends up breaking wifi-station and wifi-vlan as it depends on
config.auth_type being either psk or psk-sae. When set to psk2,
this would be unset causing that feature to not work.
See discussion in https://github.com/openwrt/openwrt/issues/20705#issuecomment-3568446006
Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/20914
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc | 7 |
1 files changed, 2 insertions, 5 deletions
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 916305e183..dae22abd9d 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 @@ -41,8 +41,9 @@ export function parse_encryption(config, dev_config) { break; case 'psk': + case 'psk2': case 'psk-mixed': - config.auth_type = "psk"; + config.auth_type = 'psk'; wpa3_pairwise = null; break; @@ -63,10 +64,6 @@ export function parse_encryption(config, dev_config) { wpa3_pairwise = null; break; - case 'psk2': - wpa3_pairwise = null; - break; - default: config.wpa_pairwise = null; wpa3_pairwise = null; |