Skip to content

Commit

Permalink
mac80211: add missing queue/hash initialization to 802.3 xmit
Browse files Browse the repository at this point in the history
[ Upstream commit 5f8d69e ]

Fixes AQL for encap-offloaded tx

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200908123702.88454-2-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
nbd168 authored and gregkh committed Nov 5, 2020
1 parent b0cd0b4 commit d980c86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions net/mac80211/tx.c
Expand Up @@ -4209,6 +4209,12 @@ static void ieee80211_8023_xmit(struct ieee80211_sub_if_data *sdata,
if (is_zero_ether_addr(ra))
goto out_free;

if (local->ops->wake_tx_queue) {
u16 queue = __ieee80211_select_queue(sdata, sta, skb);
skb_set_queue_mapping(skb, queue);
skb_get_hash(skb);
}

multicast = is_multicast_ether_addr(ra);

if (sta)
Expand Down

0 comments on commit d980c86

Please sign in to comment.