mac80211: 80Mhz was not reported properly when using tx_status_ext
authorJohn Crispin <john@phrozen.org>
Wed, 7 Aug 2019 07:59:48 +0000 (09:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Aug 2019 08:33:26 +0000 (10:33 +0200)
commita027c3041fef93da93a2c49eb22b05891d2350b6
tree3a6ac2bcd783eccebc3876f2c03f792852fb5fc6
parent8db6e7367d3ca78dd85c5e9fec2bd6d69981a980
mac80211: 80Mhz was not reported properly when using tx_status_ext

When reporting 80MHz, we need to set 4 and not 2 inside the corresponding
field inside the Tx Radiotap header.

Fixes: 3d07ffcaf320 ("mac80211: add struct ieee80211_tx_status support to ieee80211_add_tx_radiotap_header")
Signed-off-by: John Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/20190807075949.32414-3-john@phrozen.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c