aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-07-14 17:44:15 +0200
committerJohannes Berg <johannes.berg@intel.com>2019-07-26 13:41:45 +0200
commitb7b2e8caa08c30d3ad2dcdb2133991b44db2913d (patch)
treeca3fc62f0774183d191b36576681ebcb72867a20 /net/mac80211/tx.c
parentmac80211: add xmit rate to struct ieee80211_tx_status (diff)
downloadlinux-dev-b7b2e8caa08c30d3ad2dcdb2133991b44db2913d.tar.xz
linux-dev-b7b2e8caa08c30d3ad2dcdb2133991b44db2913d.zip
mac80211: propagate struct ieee80211_tx_status into ieee80211_tx_monitor()
This will allow use to report HE rates on the radiotap interface. Signed-off-by: John Crispin <john@phrozen.org> Link: https://lore.kernel.org/r/20190714154419.11854-3-john@phrozen.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index fb8870d9eba3..235c6377a203 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -4649,7 +4649,8 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw,
if (!sband)
return bcn;
- ieee80211_tx_monitor(hw_to_local(hw), copy, sband, 1, shift, false);
+ ieee80211_tx_monitor(hw_to_local(hw), copy, sband, 1, shift, false,
+ NULL);
return bcn;
}