projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
de4654511613c961ee6facbd43097659f6b32f76
[openwrt/openwrt.git]
/
package
/
mac80211
/
patches
/
900-linux-2.6.30-compat.patch
1
--- a/net/wireless/nl80211.c
2
+++ b/net/wireless/nl80211.c
3
@@ -5667,7 +5667,11 @@
4
return err;
5
}
6
7
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
8
err = genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, nlpid);
9
+#else
10
+ err = genlmsg_unicast(msg, nlpid);
11
+#endif
12
if (err < 0)
13
return err;
14
return 0;