mirror_ubuntu-kernels/drivers/net/wireless
Wen Gong 1d795645e1 ath11k: remove return for empty tx bitrate in mac_op_sta_statistics
Currently in ath11k_mac_op_sta_statistics() there is the following
logic:

    if (!arsta->txrate.legacy && !arsta->txrate.nss)
        return;

Unfortunately if this condition is true then the function returns without
setting parameters that follow the txrate. To address this issue remove the
return and instead invert the logic to set the txrate logic if
(arsta->txrate.legacy || arsta->txrate.nss).

The same was done also in ath10k in commit 1cd6ba8ae3 ("ath10k: remove return
for NL80211_STA_INFO_TX_BITRATE").

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211011084957.31024-1-wgong@codeaurora.org
2021-11-15 11:23:26 +02:00
..
admtek module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
ath ath11k: remove return for empty tx bitrate in mac_op_sta_statistics 2021-11-15 11:23:26 +02:00
atmel module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
broadcom b43: fix a lower bounds test 2021-10-11 09:09:30 +03:00
cisco airo: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
intel wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
intersil Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
marvell mwifiex: Deactive host sleep using HSCFG after it was activated manually 2021-10-20 11:51:22 +03:00
mediatek mt7601u: Remove redundant initialization of variable ret 2021-10-13 09:21:09 +03:00
microchip wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
quantenna wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
ralink rt2x00: remove duplicate USB device ID 2021-09-21 18:09:38 +03:00
realtek rtw89: remove unneeded semicolon 2021-10-20 11:50:53 +03:00
rsi rsi: stop thread firstly in rsi_91x_init() error handling 2021-10-20 11:39:43 +03:00
st wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
ti Driver core changes for 5.14-rc1 2021-07-05 13:51:41 -07:00
zydas zd1211rw: remove duplicate USB device ID 2021-09-21 18:09:37 +03:00
Kconfig
mac80211_hwsim.c mac80211-hwsim: fix late beacon hrtimer handling 2021-09-23 13:25:12 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c ray_cs: Split memcpy() to avoid bounds check warning 2021-08-21 20:15:36 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
virt_wifi.c virt_wifi: fix error on connect 2021-07-23 10:34:31 +02:00
wl3501_cs.c wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00
wl3501.h wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00