From 2f5cb96222df1f16bd84189d5eed12233f9ffaaf Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Tue, 25 Oct 2011 11:25:51 +0000
Subject: [PATCH] mac80211: allow building ath9k_htc without PCI support, based
 on patch by Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 28573
---
 package/mac80211/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index ae2920b9de..d017ef7d30 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -412,7 +412,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
-- 
GitLab