3 DESC="WL1251 MAC80211 Wireless LAN driver"
7 if `grep -q wl1251 /proc/modules` ; then
10 # rmmod board-omap3pandora-wifi
15 insmod $(busybox find /lib/modules/$(uname -r) -name "board-omap3pandora-wifi.ko")
16 insmod $(busybox find /lib/modules/$(uname -r) -name "arc4.ko")
17 insmod $(busybox find /lib/modules/$(uname -r) -name "ecb.ko")
18 insmod $(busybox find /lib/modules/$(uname -r) -name "pcbc.ko")
19 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "compat.ko")
20 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "rfkill_backport.ko")
21 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "cfg80211.ko")
22 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "mac80211.ko")
23 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211.ko")
24 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211_crypt_tkip.ko")
25 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211_crypt_wep.ko")
26 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211_crypt_ccmp.ko")
27 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "wl1251.ko")
28 insmod $(busybox find /lib/modules/$(uname -r)/updates -name "wl1251_sdio.ko")
33 echo -n "Starting $DESC: $NAME"
38 echo -n "Stopping $DESC: $NAME"
43 echo -n "Restarting $DESC: $NAME"
50 echo "Usage: $0 {start|stop|restart|force-reload}" >&2