From: Johannes Berg <[email protected]>

The new code for the "critical protocol indication" uses
snd_portid and must be adjusted in the backport patches.

Signed-off-by: Johannes Berg <[email protected]>
---
 .../network/0005-netlink-portid/nl80211.patch                    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git 
a/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch 
b/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
index 0e2b981..bde418d 100644
--- a/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
+++ b/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
@@ -232,6 +232,15 @@
                             NL80211_CMD_GET_PROTOCOL_FEATURES);
        if (!hdr)
                goto nla_put_failure;
+@@ -8261,7 +8261,7 @@ static int nl80211_crit_protocol_start(struct sk_buff 
*skb,
+ 
+       ret = rdev_crit_proto_start(rdev, wdev, proto, duration);
+       if (!ret)
+-              rdev->crit_proto_nlportid = info->snd_portid;
++              rdev->crit_proto_nlportid = genl_info_snd_portid(info);
+ 
+       return ret;
+ }
 @@ -10565,12 +10565,12 @@ static int nl80211_netlink_notify(struct
  
        list_for_each_entry_rcu(rdev, &cfg80211_rdev_list, list) {
-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to