aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-03-03 11:20:46 +0100
committerFelix Fietkau <nbd@nbd.name>2023-03-03 11:21:26 +0100
commitf6a7ce2501ecd650bc92251e3f39758603e617ca (patch)
treea57c7a6644de1f24e1f03e122f4f79341e52e0e9 /package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch
parent12a3c863d27d078766c84d5db170f0d7ba2d263a (diff)
downloadupstream-f6a7ce2501ecd650bc92251e3f39758603e617ca.tar.gz
upstream-f6a7ce2501ecd650bc92251e3f39758603e617ca.tar.bz2
upstream-f6a7ce2501ecd650bc92251e3f39758603e617ca.zip
mac80211: fix regression in sw a-msdu tx introduced in mesh improvement patches
Fixes: 6262d3eb068c ("mac80211: sync mesh fast xmit patch with upstream requested changes") Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch')
-rw-r--r--package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch b/package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch
index 3b0bae67a5..7ec8f3db1a 100644
--- a/package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch
+++ b/package/kernel/mac80211/patches/subsys/320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch
@@ -64,7 +64,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+
+ skb->dev = sdata->dev;
+ memcpy(&eth, skb->data, ETH_HLEN - 2);
-+ skb_pull(skb, sizeof(eth));
++ skb_pull(skb, 2);
+ __ieee80211_xmit_fast(sdata, sta, &entry->fast_tx, skb, tid_tx,
+ eth.h_dest, eth.h_source);
+ IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_unicast);