From: Grazvydas Ignotas Date: Mon, 15 Sep 2014 22:20:57 +0000 (+0300) Subject: wl1251-modules: remove unneeded insmods in rc script X-Git-Tag: sz_172rc~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0fc90c3e57fa322018efb5ab22b5304249ad14b;p=openpandora.oe.git 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. --- 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