Message ID | 20190807075949.32414-3-john@phrozen.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Series | [1/4] mac80211: fix TX legacy rate reporting when tx_status_ext is used | expand |
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index eaea07db83e7..471fcdc0f381 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -404,7 +404,7 @@ ieee80211_add_tx_radiotap_header(struct ieee80211_local *local, *pos = 11; break; case RATE_INFO_BW_80: - *pos = 2; + *pos = 4; break; case RATE_INFO_BW_40: *pos = 1;
When reporting 80MHz, we need to set 4 and not 2 inside the corresponding field inside the Tx Radiotap header. fixes commit 3d07ffcaf320 ("mac80211: add struct ieee80211_tx_status support to ieee80211_add_tx_radiotap_header") Signed-off-by: John Crispin <john@phrozen.org> --- net/mac80211/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)