From b0fc90c3e57fa322018efb5ab22b5304249ad14b Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Tue, 16 Sep 2014 01:20:57 +0300 Subject: [PATCH] wl1251-modules: remove unneeded insmods in rc script 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 | 2 +- recipes/pandora-system/wl1251-modules/rc.wl1251 | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/recipes/pandora-system/wl1251-modules.bb b/recipes/pandora-system/wl1251-modules.bb index a8f95e7..a7e5d7c 100755 --- a/recipes/pandora-system/wl1251-modules.bb +++ b/recipes/pandora-system/wl1251-modules.bb @@ -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" diff --git a/recipes/pandora-system/wl1251-modules/rc.wl1251 b/recipes/pandora-system/wl1251-modules/rc.wl1251 index ec4677b..bb352b2 100755 --- a/recipes/pandora-system/wl1251-modules/rc.wl1251 +++ b/recipes/pandora-system/wl1251-modules/rc.wl1251 @@ -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 -- 2.39.2