mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
c5885e669e
SVN-Revision: 20032
15 lines
351 B
Diff
15 lines
351 B
Diff
--- 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;
|