From c533834b682f6c78c66e2ff26552e972887071c8 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 13 Mar 2013 02:06:32 -0700 Subject: [PATCH] compat-drivers: fix compilation on nl80211.c 0005-netlink-portid.patch requies addition of one more hunk. Signed-off-by: Luis R. Rodriguez --- .../network/0005-netlink-portid.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/collateral-evolutions/network/0005-netlink-portid.patch b/patches/collateral-evolutions/network/0005-netlink-portid.patch index 6ec8abf5ee00..b5e52069fde8 100644 --- a/patches/collateral-evolutions/network/0005-netlink-portid.patch +++ b/patches/collateral-evolutions/network/0005-netlink-portid.patch @@ -289,6 +289,15 @@ this one should other drivers / subsystem need this change. list_add(&nreg->list, &rdev->beacon_registrations); spin_unlock_bh(&rdev->beacon_registrations_lock); +@@ -8164,7 +8164,7 @@ static int nl80211_get_protocol_features + if (!msg) + return -ENOMEM; + +- hdr = nl80211hdr_put(msg, info->snd_portid, info->snd_seq, 0, ++ hdr = nl80211hdr_put(msg, genl_info_snd_portid(info), info->snd_seq, 0, + NL80211_CMD_GET_PROTOCOL_FEATURES); + if (!hdr) + goto nla_put_failure; @@ -10563,12 +10563,12 @@ static int nl80211_netlink_notify(struct list_for_each_entry_rcu(rdev, &cfg80211_rdev_list, list) { -- 2.30.2