summaryrefslogtreecommitdiff
path: root/packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-12 10:20:43 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-12 10:20:43 +0000
commit8ede563e65a8b5dfbfbd1daaf4dff8aed3e3a8e9 (patch)
tree7f1459c745d086e37d29153d1fe1d26912599f8f /packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch
parent9e184abb76de11a7f3441cf9e981150cf972553d (diff)
wlan-ng: resolve several issues in our wlan-ng 0.2.2 build
patch courtesy Frederic Devernay, thanks!
Diffstat (limited to 'packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch')
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch b/packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch
new file mode 100644
index 0000000000..a156229331
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.2/might-sleep.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h~might_sleep
++++ linux-wlan-ng-0.2.2/src/include/wlan/wlan_compat.h
+@@ -584,7 +584,7 @@
+ #endif
+
+ #ifndef might_sleep
+-#define might_sleep(a) do { } while (0)
++#define might_sleep() do { } while (0)
+ #endif
+
+ /* Apparently 2.4.2 ethtool is quite different, maybe newer too? */