diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-02-08 19:31:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-02-08 19:31:43 +0000 |
commit | d807f70e4781773557c4aa8ed9ee5062b41568fb (patch) | |
tree | 666597b535b8df74f5bdf7d260cac21389bbce9b /package/mac80211/patches/050-fix_br_port_exists.patch | |
parent | b32ae97fd6a8d14dcac4801ab1dcf0d9533a0f6e (diff) | |
download | upstream-d807f70e4781773557c4aa8ed9ee5062b41568fb.tar.gz upstream-d807f70e4781773557c4aa8ed9ee5062b41568fb.tar.bz2 upstream-d807f70e4781773557c4aa8ed9ee5062b41568fb.zip |
mac80211: update to wireless-testing 2010-02-07
SVN-Revision: 25425
Diffstat (limited to 'package/mac80211/patches/050-fix_br_port_exists.patch')
-rw-r--r-- | package/mac80211/patches/050-fix_br_port_exists.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/package/mac80211/patches/050-fix_br_port_exists.patch b/package/mac80211/patches/050-fix_br_port_exists.patch deleted file mode 100644 index b120369053..0000000000 --- a/package/mac80211/patches/050-fix_br_port_exists.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/include/linux/compat-2.6.38.h -+++ b/include/linux/compat-2.6.38.h -@@ -8,23 +8,6 @@ - #include <linux/kernel.h> - #include <linux/skbuff.h> - --/* -- * This is not part of The 2.6.37 kernel yet but we -- * we use it to optimize the backport code we -- * need to implement. Instead of using ifdefs -- * to check what version of the check we use -- * we just replace all checks on current code -- * with this. I'll submit this upstream too, that -- * way all we'd have to do is to implement this -- * for older kernels, then we would not have to -- * edit the upstrema code for backport efforts. -- */ --#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) --#define br_port_exists(dev) (dev->priv_flags & IFF_BRIDGE_PORT) --#else --#define br_port_exists(dev) (dev->br_port) --#endif -- - /* rename member in struct mmc_host in include/linux/mmc/host.h */ - #define max_segs max_hw_segs - ---- a/include/linux/compat-2.6.h -+++ b/include/linux/compat-2.6.h -@@ -32,4 +32,21 @@ - #include <linux/compat-2.6.37.h> - #include <linux/compat-2.6.38.h> - -+/* -+ * This is not part of The 2.6.37 kernel yet but we -+ * we use it to optimize the backport code we -+ * need to implement. Instead of using ifdefs -+ * to check what version of the check we use -+ * we just replace all checks on current code -+ * with this. I'll submit this upstream too, that -+ * way all we'd have to do is to implement this -+ * for older kernels, then we would not have to -+ * edit the upstrema code for backport efforts. -+ */ -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) -+#define br_port_exists(dev) (dev->priv_flags & IFF_BRIDGE_PORT) -+#else -+#define br_port_exists(dev) (dev->br_port) -+#endif -+ - #endif /* LINUX_26_COMPAT_H */ |