include kernel-defaults.mk and use $(KERNEL_MAKEOPTS)
[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 @@ -5662,7 +5662,11 @@ int nl80211_send_action(struct cfg80211_
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.044294 seconds and 5 git commands to generate.