The pointer offset was not incremented after setting the BW value when reporting a VHT rate. This fixes commit 3d07ffcaf320 ("mac80211: add struct ieee80211_tx_status support to ieee80211_add_tx_radiotap_header") Reported-by: Miles Hu <milehu@xxxxxxxxxxxxxx> Signed-off-by: John Crispin <john@xxxxxxxxxxx> --- net/mac80211/status.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/status.c b/net/mac80211/status.c index f03aa8924d23..b036bf0269c2 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -406,6 +406,7 @@ ieee80211_add_tx_radiotap_header(struct ieee80211_local *local, *pos = 0; break; } + pos++; /* u8 mcs_nss[4] */ *pos = (status->rate->mcs << 4) | status->rate->nss; -- 2.20.1