Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- net/mac80211/ieee80211_i.h | 3 ++-
- net/mac80211/tdls.c | 2 +-
- net/mac80211/tx.c | 18 +++++++++++-------
+ net/mac80211/ieee80211_i.h | 3 ++-
+ net/mac80211/tdls.c | 2 +-
+ net/mac80211/tx.c | 18 +++++++++++-------
3 files changed, 14 insertions(+), 9 deletions(-)
-diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
-index cfd30671ccdf9..a879d8071712b 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
-@@ -1729,7 +1729,8 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
+@@ -1729,7 +1729,8 @@ netdev_tx_t ieee80211_subif_start_xmit(s
struct net_device *dev);
void __ieee80211_subif_start_xmit(struct sk_buff *skb,
struct net_device *dev,
void ieee80211_purge_tx_queue(struct ieee80211_hw *hw,
struct sk_buff_head *skbs);
struct sk_buff *
-diff --git a/net/mac80211/tdls.c b/net/mac80211/tdls.c
-index 67745d1d4c5d1..aa6fabfed3a70 100644
--- a/net/mac80211/tdls.c
+++ b/net/mac80211/tdls.c
-@@ -1055,7 +1055,7 @@ ieee80211_tdls_prep_mgmt_packet(struct wiphy *wiphy, struct net_device *dev,
+@@ -1055,7 +1055,7 @@ ieee80211_tdls_prep_mgmt_packet(struct w
/* disable bottom halves when entering the Tx path */
local_bh_disable();
local_bh_enable();
return ret;
-diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
-index cb84f2b411ae7..71159ee098ff6 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
-@@ -2399,6 +2399,7 @@ static int ieee80211_lookup_ra_sta(struct ieee80211_sub_if_data *sdata,
+@@ -2399,6 +2399,7 @@ static int ieee80211_lookup_ra_sta(struc
* @sdata: virtual interface to build the header for
* @skb: the skb to build the header in
* @info_flags: skb flags to set
*
* This function takes the skb with 802.3 header and reformats the header to
* the appropriate IEEE 802.11 header based on which interface the packet is
-@@ -2414,7 +2415,7 @@ static int ieee80211_lookup_ra_sta(struct ieee80211_sub_if_data *sdata,
+@@ -2414,7 +2415,7 @@ static int ieee80211_lookup_ra_sta(struc
*/
static struct sk_buff *ieee80211_build_hdr(struct ieee80211_sub_if_data *sdata,
struct sk_buff *skb, u32 info_flags,
{
struct ieee80211_local *local = sdata->local;
struct ieee80211_tx_info *info;
-@@ -2786,6 +2787,7 @@ static struct sk_buff *ieee80211_build_hdr(struct ieee80211_sub_if_data *sdata,
+@@ -2786,6 +2787,7 @@ static struct sk_buff *ieee80211_build_h
info->flags = info_flags;
info->ack_frame_id = info_id;
info->band = band;
return skb;
free:
-@@ -3612,7 +3614,8 @@ EXPORT_SYMBOL(ieee80211_tx_dequeue);
+@@ -3595,7 +3597,8 @@ EXPORT_SYMBOL(ieee80211_tx_dequeue);
void __ieee80211_subif_start_xmit(struct sk_buff *skb,
struct net_device *dev,
{
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
struct sta_info *sta;
-@@ -3683,7 +3686,8 @@ void __ieee80211_subif_start_xmit(struct sk_buff *skb,
+@@ -3666,7 +3669,8 @@ void __ieee80211_subif_start_xmit(struct
skb->prev = NULL;
skb->next = NULL;
if (IS_ERR(skb))
goto out;
-@@ -3823,9 +3827,9 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
+@@ -3806,9 +3810,9 @@ netdev_tx_t ieee80211_subif_start_xmit(s
__skb_queue_head_init(&queue);
ieee80211_convert_to_unicast(skb, dev, &queue);
while ((skb = __skb_dequeue(&queue)))
}
return NETDEV_TX_OK;
-@@ -3850,7 +3854,7 @@ ieee80211_build_data_template(struct ieee80211_sub_if_data *sdata,
+@@ -3833,7 +3837,7 @@ ieee80211_build_data_template(struct iee
goto out;
}
if (IS_ERR(skb))
goto out;
-@@ -4887,7 +4891,7 @@ int ieee80211_tx_control_port(struct wiphy *wiphy, struct net_device *dev,
+@@ -4870,7 +4874,7 @@ int ieee80211_tx_control_port(struct wip
skb_reset_mac_header(skb);
local_bh_disable();
local_bh_enable();
return 0;
---
-2.20.1
-
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- net/mac80211/tx.c | 8 ++++++--
+ net/mac80211/tx.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
-diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
-index 71159ee098ff6..e2487da4024ba 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
-@@ -4857,6 +4857,7 @@ int ieee80211_tx_control_port(struct wiphy *wiphy, struct net_device *dev,
+@@ -4840,6 +4840,7 @@ int ieee80211_tx_control_port(struct wip
struct ieee80211_local *local = sdata->local;
struct sk_buff *skb;
struct ethhdr *ehdr;
u32 flags;
/* Only accept CONTROL_PORT_PROTOCOL configured in CONNECT/ASSOCIATE
-@@ -4866,6 +4867,9 @@ int ieee80211_tx_control_port(struct wiphy *wiphy, struct net_device *dev,
+@@ -4849,6 +4850,9 @@ int ieee80211_tx_control_port(struct wip
proto != cpu_to_be16(ETH_P_PREAUTH))
return -EINVAL;
if (unencrypted)
flags = IEEE80211_TX_INTFL_DONT_ENCRYPT;
else
-@@ -4891,7 +4895,7 @@ int ieee80211_tx_control_port(struct wiphy *wiphy, struct net_device *dev,
+@@ -4874,7 +4878,7 @@ int ieee80211_tx_control_port(struct wip
skb_reset_mac_header(skb);
local_bh_disable();
local_bh_enable();
return 0;
---
-2.20.1
-