From 82aa950344e0812edea5fa2701f52784acc2663b Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 16 Oct 2006 22:18:06 +0000
Subject: [PATCH] Do not automatically create atheros devices (#811), and
 potentially other bugs

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

diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 7d06fe1897..a91126d862 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -118,7 +118,7 @@ ifeq ($(findstring AHB,$(BUS)),AHB)
 	echo ath_ahb >> $(1)/etc/modules.d/20-madwifi
 endif
 ifeq ($(findstring PCI,$(BUS)),PCI)
-	echo ath_pci >> $(1)/etc/modules.d/20-madwifi
+	echo "ath_pci autocreate=none" >> $(1)/etc/modules.d/20-madwifi
 endif
 	install -m0755 ./files/madwifi.init $(1)/etc/init.d/madwifi
 	$(CP) \
-- 
GitLab