summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch')
-rw-r--r--patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch32
1 files changed, 16 insertions, 16 deletions
diff --git a/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch b/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
index 89328974..622bedb6 100644
--- a/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
+++ b/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch
@@ -108,7 +108,7 @@
NL80211_CMD_GET_REG);
if (!hdr)
goto put_failure;
-@@ -5741,7 +5741,7 @@ static int nl80211_send_bss(struct sk_bu
+@@ -5762,7 +5762,7 @@ static int nl80211_send_bss(struct sk_bu
ASSERT_WDEV_LOCK(wdev);
@@ -117,7 +117,7 @@
NL80211_CMD_NEW_SCAN_RESULTS);
if (!hdr)
return -1;
-@@ -5978,7 +5978,7 @@ static int nl80211_dump_survey(struct sk
+@@ -5999,7 +5999,7 @@ static int nl80211_dump_survey(struct sk
}
if (nl80211_send_survey(skb,
@@ -126,7 +126,7 @@
cb->nlh->nlmsg_seq, NLM_F_MULTI,
wdev->netdev, &survey) < 0)
goto out;
-@@ -6676,7 +6676,7 @@ static int nl80211_testmode_dump(struct
+@@ -6697,7 +6697,7 @@ static int nl80211_testmode_dump(struct
}
while (1) {
@@ -135,7 +135,7 @@
cb->nlh->nlmsg_seq, NLM_F_MULTI,
NL80211_CMD_TESTMODE);
struct nlattr *tmdata;
-@@ -6758,7 +6758,7 @@ struct sk_buff *cfg80211_testmode_alloc_
+@@ -6779,7 +6779,7 @@ struct sk_buff *cfg80211_testmode_alloc_
return NULL;
return __cfg80211_testmode_alloc_skb(rdev, approxlen,
@@ -144,7 +144,7 @@
rdev->testmode_info->snd_seq,
GFP_KERNEL);
}
-@@ -7126,7 +7126,7 @@ static int nl80211_remain_on_channel(str
+@@ -7147,7 +7147,7 @@ static int nl80211_remain_on_channel(str
if (!msg)
return -ENOMEM;
@@ -153,7 +153,7 @@
NL80211_CMD_REMAIN_ON_CHANNEL);
if (!hdr) {
err = -ENOBUFS;
-@@ -7344,7 +7344,7 @@ static int nl80211_register_mgmt(struct
+@@ -7365,7 +7365,7 @@ static int nl80211_register_mgmt(struct
if (!rdev->ops->mgmt_tx)
return -EOPNOTSUPP;
@@ -162,7 +162,7 @@
nla_data(info->attrs[NL80211_ATTR_FRAME_MATCH]),
nla_len(info->attrs[NL80211_ATTR_FRAME_MATCH]));
}
-@@ -7425,7 +7425,7 @@ static int nl80211_tx_mgmt(struct sk_buf
+@@ -7446,7 +7446,7 @@ static int nl80211_tx_mgmt(struct sk_buf
if (!msg)
return -ENOMEM;
@@ -171,7 +171,7 @@
NL80211_CMD_FRAME);
if (!hdr) {
err = -ENOBUFS;
-@@ -7539,7 +7539,7 @@ static int nl80211_get_power_save(struct
+@@ -7560,7 +7560,7 @@ static int nl80211_get_power_save(struct
if (!msg)
return -ENOMEM;
@@ -180,7 +180,7 @@
NL80211_CMD_GET_POWER_SAVE);
if (!hdr) {
err = -ENOBUFS;
-@@ -7846,7 +7846,7 @@ static int nl80211_get_wowlan(struct sk_
+@@ -7867,7 +7867,7 @@ static int nl80211_get_wowlan(struct sk_
if (!msg)
return -ENOMEM;
@@ -189,7 +189,7 @@
NL80211_CMD_GET_WOWLAN);
if (!hdr)
goto nla_put_failure;
-@@ -8275,7 +8275,7 @@ static int nl80211_get_coalesce(struct s
+@@ -8296,7 +8296,7 @@ static int nl80211_get_coalesce(struct s
if (!msg)
return -ENOMEM;
@@ -198,7 +198,7 @@
NL80211_CMD_GET_COALESCE);
if (!hdr)
goto nla_put_failure;
-@@ -8528,7 +8528,7 @@ static int nl80211_register_unexpected_f
+@@ -8549,7 +8549,7 @@ static int nl80211_register_unexpected_f
if (wdev->ap_unexpected_nlportid)
return -EBUSY;
@@ -207,7 +207,7 @@
return 0;
}
-@@ -8558,7 +8558,7 @@ static int nl80211_probe_client(struct s
+@@ -8579,7 +8579,7 @@ static int nl80211_probe_client(struct s
if (!msg)
return -ENOMEM;
@@ -216,7 +216,7 @@
NL80211_CMD_PROBE_CLIENT);
if (!hdr) {
err = -ENOBUFS;
-@@ -8601,13 +8601,13 @@ static int nl80211_register_beacons(stru
+@@ -8622,13 +8622,13 @@ static int nl80211_register_beacons(stru
/* First, check if already registered. */
spin_lock_bh(&rdev->beacon_registrations_lock);
list_for_each_entry(reg, &rdev->beacon_registrations, list) {
@@ -232,7 +232,7 @@
list_add(&nreg->list, &rdev->beacon_registrations);
spin_unlock_bh(&rdev->beacon_registrations_lock);
-@@ -8674,7 +8674,7 @@ static int nl80211_get_protocol_features
+@@ -8695,7 +8695,7 @@ static int nl80211_get_protocol_features
if (!msg)
return -ENOMEM;
@@ -241,7 +241,7 @@
NL80211_CMD_GET_PROTOCOL_FEATURES);
if (!hdr)
goto nla_put_failure;
-@@ -8749,7 +8749,7 @@ static int nl80211_crit_protocol_start(s
+@@ -8770,7 +8770,7 @@ static int nl80211_crit_protocol_start(s
ret = rdev_crit_proto_start(rdev, wdev, proto, duration);
if (!ret)
@@ -250,7 +250,7 @@
return ret;
}
-@@ -11150,12 +11150,12 @@ static int nl80211_netlink_notify(struct
+@@ -11172,12 +11172,12 @@ static int nl80211_netlink_notify(struct
list_for_each_entry_rcu(rdev, &cfg80211_rdev_list, list) {
list_for_each_entry_rcu(wdev, &rdev->wdev_list, list)