[rt2x00-users] [PATCH] compat-wireless, unload rt2800usb

Walter Goldens goldenstranger at yahoo.com
Tue May 4 14:30:10 UTC 2010


Signed-off-by: Walter Goldens <goldenstranger at yahoo,com>
---

If rt2800usb is already loaded, calling scripts 'unload' and 'wlunload' from compat-wireless will complain of "FATAL: Module rt2xXXXX is in use." This patch will solve the unloading issue.

--- a/scripts/wlunload.sh	2010-05-04 16:51:50.000000000 +0300
+++ b/scripts/wlunload.sh	2010-05-04 16:51:40.000000000 +0300
@@ -17,6 +17,7 @@ MODULES="$MODULES ath9k ath5k ar9170usb 
 MODULES="$MODULES p54pci p54usb p54spi p54common"
 MODULES="$MODULES rt2400pci rt2500pci rt61pci"
 MODULES="$MODULES rt2500usb rt73usb"
+MODULES="$MODULES rt2800usb rt2800lib"
 MODULES="$MODULES rt2x00usb rt2x00lib"
 MODULES="$MODULES rtl8180 rtl8187"
 MODULES="$MODULES mwl8k mac80211_hwsim"
--- a/scripts/unload.sh	2010-05-04 16:56:43.000000000 +0300
+++ b/scripts/unload.sh	2010-05-04 16:56:44.000000000 +0300
@@ -17,6 +17,7 @@ MODULES="$MODULES ath9k ath5k ar9170usb 
 MODULES="$MODULES p54pci p54usb p54spi p54common"
 MODULES="$MODULES rt2400pci rt2500pci rt61pci"
 MODULES="$MODULES rt2500usb rt73usb"
+MODULES="$MODULES rt2800usb rt2800lib"
 MODULES="$MODULES rt2x00usb rt2x00lib"
 MODULES="$MODULES rtl8180 rtl8187"
 MODULES="$MODULES mwl8k mac80211_hwsim"



      



More information about the users mailing list