]> 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 87d54b1f5c86fa7c8384665395659fd0a6b5ced3..0777372f714358e0790ad3f7c6a5933c12702242 100644 (file)
@@ -30,7 +30,7 @@ else
        VERSUFIX=ipfire
 endif
 
-VER        = hal-0.10.5.6-r4031-20090529
+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 = af13564a45bb6fbb1d8834ed528a0a59
+$(DL_FILE)_MD5 = 937cf8f185ddd39b95e7ce026f9fba63
 
 install : $(TARGET)
 
@@ -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