summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2005-09-07 13:01:43 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-07 13:01:43 +0000
commitb2b07632deb335b1bcbd9e13f476202d2ca8f62f (patch)
tree1cd3d36f0f83c5573754795624e88118a575e021
parent16d6ecdf9b63fffa67c995353e8835411d82701b (diff)
parent67980566799bed7e3706ee35f5b84aafb71e1517 (diff)
merge of c1c5f45706391426e8869790b447469783a6e15d
and ddbf7177e01d412de874a56229d7f53dfa2c0d2a
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch16
-rw-r--r--packages/wlan-ng/wlan-ng-modules_0.2.2.bb8
2 files changed, 19 insertions, 5 deletions
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
index 0000000000..d98116b07c
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch
@@ -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) {
diff --git a/packages/wlan-ng/wlan-ng-modules_0.2.2.bb b/packages/wlan-ng/wlan-ng-modules_0.2.2.bb
index 23bd888650..9a482447c6 100644
--- a/packages/wlan-ng/wlan-ng-modules_0.2.2.bb
+++ b/packages/wlan-ng/wlan-ng-modules_0.2.2.bb
@@ -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}"