aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-09-22 13:34:28 +0200
committerFelix Fietkau <nbd@nbd.name>2022-09-22 15:26:58 +0200
commit6eeb5d45649ffa591b06d2ccd6a43e47939b6b18 (patch)
tree74f20b6baf3bb9fb01278a1f71f2e77fe5b2b374 /package
parent37a0cae33e94ec5822945d0c6a7c74600b4f4ade (diff)
downloadupstream-6eeb5d45649ffa591b06d2ccd6a43e47939b6b18.tar.gz
upstream-6eeb5d45649ffa591b06d2ccd6a43e47939b6b18.tar.bz2
upstream-6eeb5d45649ffa591b06d2ccd6a43e47939b6b18.zip
kernel: disable wireless extensions only when needed
They are only needed by a few very old drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/broadcom-wl/Makefile2
-rw-r--r--package/kernel/mac80211/Makefile1
-rw-r--r--package/network/services/hostapd/Config.in1
3 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/broadcom-wl/Makefile b/package/kernel/broadcom-wl/Makefile
index 7188c4900e..dec5bcb98d 100644
--- a/package/kernel/broadcom-wl/Makefile
+++ b/package/kernel/broadcom-wl/Makefile
@@ -40,7 +40,7 @@ endef
define KernelPackage/brcm-wl/Default
$(call Package/broadcom-wl/Default)
SECTION:=kernel
- DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm63xx) +wireless-tools
+ DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm63xx) +wireless-tools +@KERNEL_WIRELESS_EXT
TITLE:=Kernel driver for BCM43xx chipsets
FILES:=$(PKG_BUILD_DIR)/driver$(1)/wl.ko $(PKG_BUILD_DIR)/glue/wl_glue.ko
AUTOLOAD:=$(call AutoProbe,wl)
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index d467d20c61..f68488a24a 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -56,7 +56,6 @@ config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
config-y:= \
WLAN \
- CFG80211_WEXT \
CFG80211_CERTIFICATION_ONUS \
MAC80211_RC_MINSTREL \
MAC80211_RC_MINSTREL_HT \
diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in
index 4cfcaafade..21ed42fa07 100644
--- a/package/network/services/hostapd/Config.in
+++ b/package/network/services/hostapd/Config.in
@@ -65,6 +65,7 @@ config WPA_WOLFSSL
config DRIVER_WEXT_SUPPORT
bool
+ select KERNEL_WIRELESS_EXT
default n
config DRIVER_11N_SUPPORT