mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
mac80211: remove an obsolete patch which breaks 2.6.32 compat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20046 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
12dd8bb63e
commit
3e73cfd3fd
@ -1,14 +0,0 @@
|
||||
--- a/net/wireless/nl80211.c
|
||||
+++ b/net/wireless/nl80211.c
|
||||
@@ -5789,7 +5789,11 @@ int nl80211_send_action(struct cfg80211_
|
||||
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;
|
||||
Loading…
x
Reference in New Issue
Block a user