stop.sh: reset all driver modules when stopping
authorIdo Reis <idor@ti.com>
Thu, 5 Jan 2012 19:14:45 +0000 (21:14 +0200)
committerIdo Reis <idor@ti.com>
Thu, 5 Jan 2012 19:14:45 +0000 (21:14 +0200)
ap/ap_stop.sh
sta/sta_stop.sh

index 0aebb9682850c70421ce36bc9806a1c1d90484c6..238801939ad152a9157224721c349738663fd906 100755 (executable)
@@ -28,6 +28,13 @@ sleep 1
 echo "unload driver"
 $RMMOD wl12xx_sdio
 sleep 1
-
-
+$RMMOD wl12xx
+$RMMOD mac80211
+$RMMOD cfg80211
+$RMMOD compat
+sleep 1
+$INSMOD /system/lib/modules/compat.ko
+$INSMOD /system/lib/modules/cfg80211.ko
+$INSMOD /system/lib/modules/mac80211.ko
+$INSMOD /system/lib/modules/wl12xx.ko debug_level=0x63c00
 
index 51b361ad4b43ba2af896fe0eff43cd19629c261f..86e483ce1aa10b6cf0f94e826f3b1f437f2483ac 100755 (executable)
@@ -27,6 +27,13 @@ sleep 1
 echo "unload driver"
 $RMMOD wl12xx_sdio
 sleep 1
-
-
+$RMMOD wl12xx
+$RMMOD mac80211
+$RMMOD cfg80211
+$RMMOD compat
+sleep 1
+$INSMOD /system/lib/modules/compat.ko
+$INSMOD /system/lib/modules/cfg80211.ko
+$INSMOD /system/lib/modules/mac80211.ko
+$INSMOD /system/lib/modules/wl12xx.ko debug_level=0x63c00