[OpenWrt-Devel] [PATCH] hostapd/wpa_supplicant: Remove duplicate configs, spare some bytes

Bima Hutama hutamanzi at gmail.com
Tue Jun 7 12:07:26 EDT 2016


  -Description:
	There were some duplicates entries in full version of supplicant and
	hostapd. It removes all duplicates found.

  -Changelog:
	Deleting duplicates for CONFIG_EAP_FAST=y and CONFIG_WPS=y.

Signed-off-by: Bima Hutama <hutamanzi at gmail.com>
---
 package/network/services/hostapd/files/hostapd-full.config        | 6 +-----
 package/network/services/hostapd/files/wpa_supplicant-full.config | 5 +----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/package/network/services/hostapd/files/hostapd-full.config b/package/network/services/hostapd/files/hostapd-full.config
index 681e9df..c8e9521 100644
--- a/package/network/services/hostapd/files/hostapd-full.config
+++ b/package/network/services/hostapd/files/hostapd-full.config
@@ -53,9 +53,6 @@ CONFIG_PEERKEY=y
 # Integrated EAP server
 CONFIG_EAP=y
 
-# EAP-FAST for the integrated EAP server
-CONFIG_EAP_FAST=y
-
 # EAP-MD5 for the integrated EAP server
 CONFIG_EAP_MD5=y
 
@@ -103,7 +100,7 @@ CONFIG_EAP_TTLS=y
 # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
 # the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
 # to add the needed functions.
-#CONFIG_EAP_FAST=y
+CONFIG_EAP_FAST=y
 
 # Wi-Fi Protected Setup (WPS)
 CONFIG_WPS=y
@@ -163,7 +160,6 @@ NEED_AES_DEC=y
 CONFIG_NO_RANDOM_POOL=y
 CONFIG_NO_DUMP_STATE=y
 
-CONFIG_WPS=y
 CONFIG_FULL_DYNAMIC_VLAN=y
 
 CONFIG_UBUS=y
diff --git a/package/network/services/hostapd/files/wpa_supplicant-full.config b/package/network/services/hostapd/files/wpa_supplicant-full.config
index e23ea4c..e653212 100644
--- a/package/network/services/hostapd/files/wpa_supplicant-full.config
+++ b/package/network/services/hostapd/files/wpa_supplicant-full.config
@@ -121,9 +121,6 @@ CONFIG_DRIVER_WIRED=y
 # included)
 CONFIG_IEEE8021X_EAPOL=y
 
-# EAP-FAST
-CONFIG_EAP_FAST=y
-
 # EAP-MD5
 CONFIG_EAP_MD5=y
 
@@ -144,7 +141,7 @@ CONFIG_EAP_TTLS=y
 # functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
 # the OpenSSL library must be patched (openssl-0.9.8d-tls-extensions.patch)
 # to add the needed functions.
-#CONFIG_EAP_FAST=y
+CONFIG_EAP_FAST=y
 
 # EAP-GTC
 CONFIG_EAP_GTC=y
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list