Change countrycode for madwifi to a comment.

Some cards are not detected if this is set...
This commit is contained in:
Arne Fitzenreiter
2009-05-30 10:35:41 +02:00
parent 634e25b763
commit 884bb2d4ab

View 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