summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_plink.c
diff options
context:
space:
mode:
authorMeiChia Chiu <meichia.chiu@mediatek.com>2022-07-08 17:58:23 +0800
committerJohannes Berg <johannes.berg@intel.com>2022-07-11 10:21:04 +0200
commit68608f9991bdb69472b2217758018896185dd2e2 (patch)
tree2db0e8bb86b086f8ca3a42f6d3924c359a256a72 /net/mac80211/mesh_plink.c
parent3c512307de4097aaaab3f4741c7a98fe88afa469 (diff)
wifi: mac80211: fix center freq calculation in ieee80211_chandef_downgrade
When mac80211 downgrades working bandwidth, the center_freq and center_freq1 need to be recalculated. There is a typo in the case of downgrading bandwidth from 320MHz to 160MHz which would cause a wrong frequency value. Reviewed-by: Money Wang <Money.Wang@mediatek.com> Signed-off-by: MeiChia Chiu <MeiChia.Chiu@mediatek.com> Link: https://lore.kernel.org/r/20220708095823.12959-1-MeiChia.Chiu@mediatek.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
0 files changed, 0 insertions, 0 deletions