From 74775dcb9a58fa0d82da9efdc33daba2c5704bca Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Fri, 7 May 2010 01:58:00 +0200 Subject: [PATCH] rc.wl1251: Changed the insmod-module order according to notaz' suggestions --- recipes/pandora-system/wl1251-modules/rc.wl1251 | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/recipes/pandora-system/wl1251-modules/rc.wl1251 b/recipes/pandora-system/wl1251-modules/rc.wl1251 index 30f8818..7018f49 100755 --- a/recipes/pandora-system/wl1251-modules/rc.wl1251 +++ b/recipes/pandora-system/wl1251-modules/rc.wl1251 @@ -1,5 +1,4 @@ #!/bin/sh - DESC="WL1251 MAC80211 Wireless LAN driver" NAME="wl1251" @@ -12,21 +11,21 @@ d_stop() { } d_start() { - insmod $(busybox find /lib/modules/$(uname -r) -name "board-omap3pandora-wifi.ko") - insmod $(busybox find /lib/modules/$(uname -r) -name "arc4.ko") - insmod $(busybox find /lib/modules/$(uname -r) -name "ecb.ko") - insmod $(busybox find /lib/modules/$(uname -r) -name "pcbc.ko") - insmod $(busybox find /lib/modules/$(uname -r)/updates -name "compat.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "rfkill_backport.ko") - insmod $(busybox find /lib/modules/$(uname -r)/updates -name "cfg80211.ko") + insmod $(busybox find /lib/modules/$(uname -r)/updates -name "compat.ko") + insmod $(busybox find /lib/modules/$(uname -r)/updates -name "cfg80211.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "mac80211.ko") + insmod $(busybox find /lib/modules/$(uname -r)/updates -name "compat_firmware_class.ko") + insmod $(busybox find /lib/modules/$(uname -r) -name "ecb.ko") + insmod $(busybox find /lib/modules/$(uname -r) -name "pcbc.ko") + insmod $(busybox find /lib/modules/$(uname -r) -name "arc4.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211_crypt_tkip.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211_crypt_wep.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "lib80211_crypt_ccmp.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "wl1251.ko") insmod $(busybox find /lib/modules/$(uname -r)/updates -name "wl1251_sdio.ko") - iwconfig wlan0 power off + insmod $(busybox find /lib/modules/$(uname -r) -name "board-omap3pandora-wifi.ko") } case "$1" in -- 2.39.5