]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Change countrycode for madwifi to a comment.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 30 May 2009 08:35:41 +0000 (10:35 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 30 May 2009 08:35:41 +0000 (10:35 +0200)
Some cards are not detected if this is set...

lfs/madwifi

index 87d54b1f5c86fa7c8384665395659fd0a6b5ced3..8f0ff0a3a77b580502a09060fd2e9f5f67cb52c3 100644 (file)
@@ -82,9 +82,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -f $(DIR_SRC)/config/madwifi/madwifi.conf /etc/
        ln -sf $(DIR_APP) $(DIR_SRC)/madwifi 
 
-       # Set Countrycode to germany because some cards
-       # are not detected without cc
-       echo 'options ath_pci countrycode=276' > /etc/modprobe.d/madwifi
+       # Add comment to set CountryCode to germany because some cards
+       # are not detected without cc but others doesn't like this
+       echo '#options ath_pci countrycode=276' > /etc/modprobe.d/madwifi
+       # Blacklist ath5k or madwifi for switching between the drivers
        echo '#blacklist ath_pci' >> /etc/modprobe.d/madwifi
        echo 'blacklist ath5k' >> /etc/modprobe.d/madwifi