From: Daniel Golle Date: Mon, 10 Jun 2024 22:39:36 +0000 (+0100) Subject: mt76: mt7996: select required kernel and hostap options X-Git-Tag: v23.05.4~49 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9f3f5cff301407472e16c0033ad0544e8a57ce51;p=openwrt%2Fopenwrt.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 (cherry picked from commit 83311b747012e0675f96af18793e92cb8320c707) Link: https://github.com/openwrt/openwrt/pull/15898 Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index 6faad44b2a..d3f78abb1f 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