3 DESC="WL1251 MAC80211 Wireless LAN driver"
7 if `grep -q wl1251 /proc/modules` ; then
10 rmmod board-omap3pandora-wifi
12 if `grep -q mac80211 /proc/modules` ; then
16 rmmod lib80211_crypt_ccmp
17 rmmod lib80211_crypt_wep
18 rmmod lib80211_crypt_tkip
24 insmod $(busybox find /lib/modules/$(uname -r) -name "board-omap3pandora-wifi.ko")
25 insmod $(busybox find /lib/modules/$(uname -r) -name "arc4.ko")
26 insmod $(busybox find /lib/modules/$(uname -r) -name "ecb.ko")
27 insmod $(busybox find /lib/modules/$(uname -r) -name "pcbc.ko")
28 insmod $(busybox find /lib/modules/$(uname -r) -name "rfkill_backport.ko")
29 insmod $(busybox find /lib/modules/$(uname -r) -name "cfg80211.ko")
30 insmod $(busybox find /lib/modules/$(uname -r) -name "mac80211.ko")
31 insmod $(busybox find /lib/modules/$(uname -r) -name "lib80211.ko")
32 insmod $(busybox find /lib/modules/$(uname -r) -name "lib80211_crypt_tkip.ko")
33 insmod $(busybox find /lib/modules/$(uname -r) -name "lib80211_crypt_wep.ko")
34 insmod $(busybox find /lib/modules/$(uname -r) -name "lib80211_crypt_ccmp.ko")
35 insmod $(busybox find /lib/modules/$(uname -r) -name "wl1251.ko")
36 insmod $(busybox find /lib/modules/$(uname -r) -name "wl1251_sdio.ko")
41 echo -n "Starting $DESC: $NAME"
46 echo -n "Stopping $DESC: $NAME"
51 echo -n "Restarting $DESC: $NAME"
58 echo "Usage: $0 {start|stop|restart|force-reload}" >&2