]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/madwifi
Optimized wireless module build.
[people/pmueller/ipfire-2.x.git] / lfs / madwifi
index 87d54b1f5c86fa7c8384665395659fd0a6b5ced3..838a9c50d78af6a44c7add9dfcbf62635b4bfffe 100644 (file)
@@ -82,11 +82,12 @@ $(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
-       echo '#blacklist ath_pci' >> /etc/modprobe.d/madwifi
-       echo 'blacklist ath5k' >> /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
 
        # create madwifi symlink for hostapd build
        cd $(DIR_SRC) && ln -sf $(THISAPP) madwifi