mac80211: move the 2.6.30 compat patch to the other compat patches
[openwrt.git] / package / mac80211 / patches / 120-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;
This page took 0.040502 seconds and 5 git commands to generate.