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@gmail.com>
[remove outdated PKG_RELEASE bump and update to SPDX]
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Dobroslaw Kijowski 2021-01-03 13:46:21 +01:00 committed by maurerr
parent d11dee8b28
commit 57dc420383
2 changed files with 2 additions and 6 deletions

View File

@ -1,8 +1,6 @@
# Copyright (C) 2006-2014 OpenWrt.org # SPDX-License-Identifier: GPL-2.0-only
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# #
# Copyright (C) 2006-2021 OpenWrt.org
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk

View File

@ -23,8 +23,6 @@ static inline int has_feature(const char *feat)
if (!strcmp(feat, "11r")) if (!strcmp(feat, "11r"))
return 1; return 1;
#endif #endif
if (!strcmp(feat, "11w"))
return 1;
#ifdef CONFIG_ACS #ifdef CONFIG_ACS
if (!strcmp(feat, "acs")) if (!strcmp(feat, "acs"))
return 1; return 1;