Add blacklist for ath5k to switch between madwifi and ath5k
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 22 Apr 2009 07:44:46 +0000 (09:44 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 22 Apr 2009 07:44:46 +0000 (09:44 +0200)
lfs/madwifi

index 6d657cc383e9e7f767ca165d2eedbfdfd5de2a46..743c014cf717e148cd3481b8f790bb4ca2f2ac6a 100644 (file)
@@ -85,6 +85,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # Set Countrycode to germany because some cards
        # are not detected without cc
        echo options ath_pci countrycode=276 > /etc/modprobe.d/madwifi
+       echo #blacklist ath_pci >> /etc/modprobe.d/madwifi
+       echo blacklist ath5k >> /etc/modprobe.d/madwifi
 
        # create madwifi symlink for hostapd build
        cd $(DIR_SRC) && ln -sf $(THISAPP) madwifi