From: Arne Fitzenreiter Date: Sat, 30 May 2009 08:35:41 +0000 (+0200) Subject: Change countrycode for madwifi to a comment. X-Git-Tag: v2.5-rc1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=884bb2d4abf4b19ecb16ba0f79e3f091295b0e95;p=ipfire-2.x.git Change countrycode for madwifi to a comment. Some cards are not detected if this is set... --- diff --git a/lfs/madwifi b/lfs/madwifi index 87d54b1f5c..8f0ff0a3a7 100644 --- a/lfs/madwifi +++ b/lfs/madwifi @@ -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