]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/madwifi
Updated madwifi to lastest stable.
[people/pmueller/ipfire-2.x.git] / lfs / madwifi
index 6d657cc383e9e7f767ca165d2eedbfdfd5de2a46..0777372f714358e0790ad3f7c6a5933c12702242 100644 (file)
@@ -30,7 +30,7 @@ else
        VERSUFIX=ipfire
 endif
 
-VER        = hal-testing-r4003-20090416
+VER        = hal-0.10.5.6-r4119-20100201
 
 THISAPP    = madwifi-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -46,7 +46,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f9c591f16746a4ac4988ccbfedfe1a85
+$(DL_FILE)_MD5 = 937cf8f185ddd39b95e7ce026f9fba63
 
 install : $(TARGET)
 
@@ -82,9 +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
+       # 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