X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;ds=sidebyside;f=package%2Fkernel%2Fmac80211%2FMakefile;h=5bef361650618e8dd2d5c8bc162a7912aca806ba;hb=e34c2074ba1ca949a8fde7a74189aa039038f811;hp=e719572e7fe441a6359b5a7585f801fb0a0f95d7;hpb=eabd96536cca6ac4cfa5c29f77ccf430561f4567;p=openwrt.git diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index e719572e7f..5bef361650 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -367,7 +367,7 @@ endef define KernelPackage/rtlwifi $(call KernelPackage/mac80211/Default) TITLE:=Realtek common driver part - DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT + DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtlwifi.ko AUTOLOAD:=$(call AutoLoad,26,rtlwifi) MENU:=1