[openwrt/openwrt] hostapd: stop advertising 11w feature

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 20 17:11:42 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/bb2ac5a33be4c85c47f0f27e9ecb9e2c5f6c0a8f

commit bb2ac5a33be4c85c47f0f27e9ecb9e2c5f6c0a8f
Author: Dobroslaw Kijowski <dobo90 at gmail.com>
AuthorDate: Sun Jan 3 13:46:21 2021 +0100

    hostapd: stop advertising 11w feature
    
    This is a follow up of 1a9b896d ("treewide: nuke DRIVER_11W_SUPPORT").
    LuCI commit ab010406 ("luci-mod-network: skip check for 802.11w feature")
    skips check of the 11w feature [1]. Now advertising it in hostapd is
    superfluous so stop doing it.
    
    [1]: https://github.com/openwrt/luci/pull/4689
    
    Signed-off-by: Dobroslaw Kijowski <dobo90 at gmail.com>
    [remove outdated PKG_RELEASE bump and update to SPDX]
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 package/network/services/hostapd/Makefile                       | 6 ++----
 package/network/services/hostapd/src/src/utils/build_features.h | 2 --
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 3c521b485d..fee6889b40 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -1,8 +1,6 @@
-# Copyright (C) 2006-2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+# Copyright (C) 2006-2021 OpenWrt.org
 
 include $(TOPDIR)/rules.mk
 
diff --git a/package/network/services/hostapd/src/src/utils/build_features.h b/package/network/services/hostapd/src/src/utils/build_features.h
index c7fccad413..3ab5246c78 100644
--- a/package/network/services/hostapd/src/src/utils/build_features.h
+++ b/package/network/services/hostapd/src/src/utils/build_features.h
@@ -23,8 +23,6 @@ static inline int has_feature(const char *feat)
 	if (!strcmp(feat, "11r"))
 		return 1;
 #endif
-	if (!strcmp(feat, "11w"))
-		return 1;
 #ifdef CONFIG_ACS
 	if (!strcmp(feat, "acs"))
 		return 1;



More information about the lede-commits mailing list