diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-19 00:47:28 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-19 00:47:28 +0000 |
commit | 13278fa5e8209be976640091026dc1beb7401517 (patch) | |
tree | 1bc58912729fb2e3abef9079f54596853c43ca54 /package/mac80211/patches/120-linux-2.6.30-compat.patch | |
parent | 9435e670b41af420f6172b51e4800c91a5fa61c5 (diff) |
mac80211: move the 2.6.30 compat patch to the other compat patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19715 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/120-linux-2.6.30-compat.patch')
-rw-r--r-- | package/mac80211/patches/120-linux-2.6.30-compat.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/120-linux-2.6.30-compat.patch b/package/mac80211/patches/120-linux-2.6.30-compat.patch new file mode 100644 index 000000000..de4654511 --- /dev/null +++ b/package/mac80211/patches/120-linux-2.6.30-compat.patch @@ -0,0 +1,14 @@ +--- a/net/wireless/nl80211.c ++++ b/net/wireless/nl80211.c +@@ -5667,7 +5667,11 @@ + return err; + } + ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)) + err = genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, nlpid); ++#else ++ err = genlmsg_unicast(msg, nlpid); ++#endif + if (err < 0) + return err; + return 0; |