mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 03:17:48 +00:00
58 lines
1.8 KiB
Diff
58 lines
1.8 KiB
Diff
From 23f5618453b232b9ebc5b61b7a560cd4abc09957 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Thu, 27 May 2021 13:24:47 +0200
|
|
Subject: [PATCH] netifd: update to latest HEAD
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
package/network/config/netifd/Makefile | 2 -
|
|
.../config/netifd/patches/100-script.patch | 21 +++++++++++
|
|
.../config/netifd/patches/hairpin.patch | 37 +++++++++++++++++++
|
|
3 files changed, 58 insertions(+), 2 deletions(-)
|
|
create mode 100644 package/network/config/netifd/patches/100-script.patch
|
|
create mode 100644 package/network/config/netifd/patches/hairpin.patch
|
|
|
|
diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
|
|
index cd4f8f423d..e4399b2473 100644
|
|
--- a/package/network/config/netifd/Makefile
|
|
+++ b/package/network/config/netifd/Makefile
|
|
@@ -13,8 +13,6 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
PKG_LICENSE:=GPL-2.0
|
|
PKG_LICENSE_FILES:=
|
|
|
|
-PKG_BUILD_PARALLEL:=1
|
|
-
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
diff --git a/package/network/config/netifd/patches/100-script.patch b/package/network/config/netifd/patches/100-script.patch
|
|
new file mode 100644
|
|
index 0000000000..e7ba83f4bb
|
|
--- /dev/null
|
|
+++ b/package/network/config/netifd/patches/100-script.patch
|
|
@@ -0,0 +1,21 @@
|
|
+Index: a/scripts/netifd-wireless.sh
|
|
+===================================================================
|
|
+--- a/scripts/netifd-wireless.sh
|
|
++++ b/scripts/netifd-wireless.sh
|
|
+@@ -252,11 +252,14 @@ wireless_vif_parse_encryption() {
|
|
+ auth_type=owe
|
|
+ ;;
|
|
+ wpa3-mixed*)
|
|
+- auth_type=eap-eap192
|
|
++ auth_type=eap-eap256
|
|
+ ;;
|
|
+- wpa3*)
|
|
++ wpa3-192*)
|
|
+ auth_type=eap192
|
|
+ ;;
|
|
++ wpa3*)
|
|
++ auth_type=eap256
|
|
++ ;;
|
|
+ psk3-mixed*|sae-mixed*)
|
|
+ auth_type=psk-sae
|
|
+ ;;
|
|
--
|
|
2.25.1
|
|
|