wl1251-modules: remove unneeded insmods in rc script
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 15 Sep 2014 22:20:57 +0000 (01:20 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 15 Sep 2014 22:58:09 +0000 (01:58 +0300)
causes annoying error messages on 3.2 kernel,
modprobe takes care of it even on 2.6, so no need for those insmods.

recipes/pandora-system/wl1251-modules.bb
recipes/pandora-system/wl1251-modules/rc.wl1251

index a8f95e7..a7e5d7c 100755 (executable)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Kernel drivers for the TI WL1251 WiFi chip found on the Pandora - Connected via SDIO"
 LICENSE = "GPLv2"
 
-PR="r2"
+PR="r3"
 
 SRCREV = "ccb56baff992d682cc84eca10472298b2cce1bf1"
 
index ec4677b..bb352b2 100755 (executable)
@@ -10,20 +10,6 @@ d_stop() {
 }
 
 d_start() {
-       if ! lsmod | grep -q mac80211 ; then
-               insmod $(busybox find /lib/modules/$(uname -r)/updates -name "rfkill_backport.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")
-       fi
        modprobe wl1251
        modprobe wl1251_sdio
        # this does not exist on newer kernels