Skip to content
Commit 59336e07 authored by Shayne Chen's avatar Shayne Chen Committed by Johannes Berg
Browse files

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: default avatarShayne Chen <shayne.chen@mediatek.com>
Link: https://lore.kernel.org/r/20230209110659.25447-1-shayne.chen@mediatek.com
Fixes: 41cbb0f5

 ("mac80211: add support for HE")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 796703ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment