From: Daniel Golle Date: Mon, 10 Jun 2024 22:39:36 +0000 (+0100) Subject: mt76: mt7996: select required kernel and hostap options X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=83311b747012e0675f96af18793e92cb8320c707;p=openwrt%2Fstaging%2Fpepe2k.git mt76: mt7996: select required kernel and hostap options Select DRIVER_11AX_SUPPORT and KERNEL_RELAY also for kmod-mt7996 to prevent build failure if only this driver is selected during build and end up with (most) required hostap features (IEEE 802.11be rates are not yet supported). Reported-by: Arınç ÜNAL Signed-off-by: Daniel Golle --- diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index 03c97de797..c6cce9cf9c 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -318,7 +318,7 @@ endef define KernelPackage/mt7996e $(KernelPackage/mt76-default) TITLE:=MediaTek MT7996E wireless driver - DEPENDS+=@PCI_SUPPORT +kmod-mt76-connac +kmod-hwmon-core + DEPENDS+=@PCI_SUPPORT +kmod-mt76-connac +kmod-hwmon-core +@DRIVER_11AX_SUPPORT +@KERNEL_RELAY FILES:= $(PKG_BUILD_DIR)/mt7996/mt7996e.ko AUTOLOAD:=$(call AutoProbe,mt7996e) endef