summaryrefslogtreecommitdiff
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorShayne Chen <shayne.chen@mediatek.com>2023-02-09 19:06:59 +0800
committerJohannes Berg <johannes.berg@intel.com>2023-02-14 12:23:12 +0100
commit59336e07b287d91dc4ec265e07724e8f7e3d0209 (patch)
tree71003564b4812b0c29744620704d29b518abf01c /net/wireless/util.c
parent796703baead0c2862f7f2ebb9b177590af533035 (diff)
wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
The value of last_rate in ieee80211_sta_rx_stats is degraded from u32 to u16 after being assigned to rate variable, which causes information loss in STA_STATS_FIELD_TYPE and later bitfields. Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> Link: https://lore.kernel.org/r/20230209110659.25447-1-shayne.chen@mediatek.com Fixes: 41cbb0f5a295 ("mac80211: add support for HE") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions