mac80211: add missing kernel modules for brcmfmac
authorFelix Fietkau <nbd@nbd.name>
Wed, 13 Sep 2023 05:53:39 +0000 (07:53 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 13 Sep 2023 07:45:56 +0000 (09:45 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/broadcom.mk

index 13da62a6f469a1a773562f9f4cc4d4785811eba0..d0b08890881baa64d80b91ecb5d068e2f6f98e3b 100644 (file)
@@ -416,7 +416,10 @@ define KernelPackage/brcmfmac
   DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11AC_SUPPORT \
        +kmod-brcmutil +BRCMFMAC_SDIO:kmod-mmc @!TARGET_uml \
        +BRCMFMAC_USB:kmod-usb-core +BRCMFMAC_USB:brcmfmac-firmware-usb
-  FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
+  FILES:= \
+       $(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko \
+       $(foreach type,bca cyw wcc, \
+               $(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/$(type)/brcmfmac-$(type).ko)
   AUTOLOAD:=$(call AutoProbe,brcmfmac)
 endef