aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-03-27 09:53:48 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-03-27 09:53:48 +0000
commit5dbee8b3aa04848da5187c34e7eb5d982af7100a (patch)
treeaa61cea5734f70b4ce01a9904db8fed7f85a32c1 /package
parent161325ac4fffd1c54b0dc267b2352f765dfbd52d (diff)
downloadupstream-5dbee8b3aa04848da5187c34e7eb5d982af7100a.tar.gz
upstream-5dbee8b3aa04848da5187c34e7eb5d982af7100a.tar.bz2
upstream-5dbee8b3aa04848da5187c34e7eb5d982af7100a.zip
mac80211: fix build of ipw2200
SVN-Revision: 20502
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/014-add_iw_handler.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/mac80211/patches/014-add_iw_handler.patch b/package/mac80211/patches/014-add_iw_handler.patch
new file mode 100644
index 0000000000..5119b35fbe
--- /dev/null
+++ b/package/mac80211/patches/014-add_iw_handler.patch
@@ -0,0 +1,33 @@
+commit b7d48ccc687c44213121b1b565dccdc4488f5d9a
+Author: Pavel Roskin <proski@gnu.org>
+Date: Wed Mar 24 17:23:37 2010 -0400
+
+ compat: add compat-2.6.35.h and IW_HANDLER
+
+ Signed-off-by: Pavel Roskin <proski@gnu.org>
+
+--- /dev/null
++++ b/include/linux/compat-2.6.35.h
+@@ -0,0 +1,13 @@
++#ifndef LINUX_26_35_COMPAT_H
++#define LINUX_26_35_COMPAT_H
++
++#include <linux/version.h>
++
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35))
++
++#define IW_HANDLER(id, func) \
++ [IW_IOCTL_IDX(id)] = func
++
++#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)) */
++
++#endif /* LINUX_26_35_COMPAT_H */
+--- a/include/linux/compat-2.6.h
++++ b/include/linux/compat-2.6.h
+@@ -27,5 +27,6 @@
+ #include <linux/compat-2.6.32.h>
+ #include <linux/compat-2.6.33.h>
+ #include <linux/compat-2.6.34.h>
++#include <linux/compat-2.6.35.h>
+
+ #endif /* LINUX_26_COMPAT_H */