1 --- a/net/wireless/nl80211.c
2 +++ b/net/wireless/nl80211.c
3 @@ -5662,7 +5662,11 @@ int nl80211_send_action(struct cfg80211_
7 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
8 err = genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, nlpid);
10 + err = genlmsg_unicast(msg, nlpid);