From 3f351e27707786c1b2f5482070efd5930a5c7d06 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 5 Aug 2013 21:57:48 +0000 Subject: [PATCH] mac80211: rtlwifi depends on PCI or USB support in the Kconfig file Signed-off-by: Hauke Mehrtens SVN-Revision: 37711 --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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