Move netns hunk to its own 05-netns.patch
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 4 Aug 2009 20:04:16 +0000 (13:04 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 4 Aug 2009 20:04:16 +0000 (13:04 -0700)
There is another netns related change on 01-netdev.patch
but haven't figured out a way to split by having them
not touch the same files. While we could have the netdev
stuff apply first and then afterwards apply the netns
stuff to the same files maintaining that would be quite
painful so for now lets leave this as is.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat.diff
compat/diffs/05-netns.patch [new file with mode: 0644]

index d0096b404fa26766d7091a82d2a10c72bb473cb1..5e08e870beaa01775385b9336ba2f4d57d2829b3 100644 (file)
 -      zd_chip_control_leds(&mac->chip, LED_OFF);
 +      zd_chip_control_leds(&mac->chip, ZD_LED_OFF);
  }
---- a/net/wireless/nl80211.c   2009-07-27 16:22:30.301045695 -0700
-+++ b/net/wireless/nl80211.c   2009-07-27 18:17:28.445046102 -0700
-@@ -29,7 +29,9 @@
-       .hdrsize = 0,           /* no private header */
-       .version = 1,           /* no particular meaning now */
-       .maxattr = NL80211_ATTR_MAX,
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
-       .netnsok = true,
-+#endif
- };
- /* internal helper: get rdev and dev */
diff --git a/compat/diffs/05-netns.patch b/compat/diffs/05-netns.patch
new file mode 100644 (file)
index 0000000..65778d8
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/net/wireless/nl80211.c   2009-07-27 16:22:30.301045695 -0700
++++ b/net/wireless/nl80211.c   2009-07-27 18:17:28.445046102 -0700
+@@ -29,7 +29,9 @@
+       .hdrsize = 0,           /* no private header */
+       .version = 1,           /* no particular meaning now */
+       .maxattr = NL80211_ATTR_MAX,
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
+       .netnsok = true,
++#endif
+ };
+ /* internal helper: get rdev and dev */