wlan-ng-modules 0.2.2: make it work on stoneage kernels
authorMichael Lauer <mickey@vanille-media.de>
Wed, 7 Sep 2005 12:37:31 +0000 (12:37 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 7 Sep 2005 12:37:31 +0000 (12:37 +0000)
packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch [new file with mode: 0644]
packages/wlan-ng/wlan-ng-modules_0.2.2.bb

diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch b/packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch
new file mode 100644 (file)
index 0000000..d98116b
--- /dev/null
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.2/src/prism2/driver/prism2_usb.c~msleep-vs-mdelay
++++ linux-wlan-ng-0.2.2/src/prism2/driver/prism2_usb.c
+@@ -279,7 +279,7 @@
+                * is "wake up", so that's easy.
+                * (I'd like a better way to do this, really.)
+                */
+-              msleep(100);
++              mdelay(100);
+               /* Now delete the CTLXs, because no-one else can now. */
+               list_for_each_safe(entry, temp, &cleanlist) {
index 23bd888..9a48244 100644 (file)
@@ -4,15 +4,13 @@ SECTION = "kernel/modules"
 DEPENDS = "virtual/kernel"
 RRECOMMENDS = "wlan-ng-utils"
 LICENSE = "GPL"
-PR = "r0"
-
-# missing symbols on module load
-DEFAULT_PREFERENCE = "-1"
+PR = "r1"
 
 SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \
        file://no-compat.patch;patch=1 \
+       file://msleep-vs-mdelay.patch;patch=1 \
        file://only-the-modules.patch;patch=1 \
-        file://compile-fix-HACK.patch;patch=1 \
+       file://compile-fix-HACK.patch;patch=1 \
        file://config.in"
 S = "${WORKDIR}/linux-wlan-ng-${PV}"