[openwrt/openwrt] wifi-scripts: fix another regression in the ucode auth_type changes

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 25 04:27:18 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/126dc7ddb95540787b16429eebac5a0acb9a42c7

commit 126dc7ddb95540787b16429eebac5a0acb9a42c7
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jun 25 13:25:57 2025 +0200

    wifi-scripts: fix another regression in the ucode auth_type changes
    
    Clear the right variable
    Handle psk2 explicitly
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../wifi-scripts/files-ucode/usr/share/ucode/wifi/iface.uc       | 9 +++++++--
 1 file changed, 7 insertions(+), 2 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 6601a30689..780cab8a63 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;
 	}
 




More information about the lede-commits mailing list