summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Kaistra <martin.kaistra@linutronix.de>2023-04-28 17:08:30 +0200
committerKalle Valo <kvalo@kernel.org>2023-05-05 10:30:14 +0300
commit07342528f7c8b7ca156ee6d8c132e42579b37bb9 (patch)
tree3c8adc4691729bdc8f2db04afaa740cd23a49093 /tools/perf/scripts/python/export-to-postgresql.py
parent66dcb574418eac0b09121d37ea0b52dede021887 (diff)
wifi: rtl8xxxu: Remove usage of ieee80211_get_tx_rate()
As this driver uses HAS_RATE_CONTROL, tx_rates will not be provided by mac80211. For some frames c->control.rates[0].idx is negative, which means ieee80211_get_tx_rate() will print a warning and return NULL. Only management frames have USE_DRIVER_RATE set, so for all others the rate info of txdesc is ignored anyway. Remove call to ieee80211_get_tx_rate() and send management frames with 1M (rate info = 0). Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230428150833.218605-16-martin.kaistra@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions