ath9k_htc doesn not require PCI support. Hence, allow building
ath_common with only USB_SUPPORT.

Signed-off-by: Helmut Schaa <helmut.sc...@googlemail.com>
---
 package/mac80211/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 3b438d9..be35ad1 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -411,7 +411,7 @@ define KernelPackage/ath9k-common
   $(call KernelPackage/mac80211/Default)
   TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
   URL:=http://linuxwireless.org/en/users/Drivers/ath9k
-  DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath +@DRIVER_11N_SUPPORT
+  DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||TARGET_ar71xx +kmod-ath 
+@DRIVER_11N_SUPPORT
   FILES:= \
        $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
        $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
-- 
1.7.3.4

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to