summaryrefslogtreecommitdiff
path: root/packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch')
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.2/msleep-vs-mdelay.patch16
1 files changed, 16 insertions, 0 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) {