Commit 17f34ab5 authored by Ryder Lee's avatar Ryder Lee Committed by Johannes Berg
Browse files

wifi: cfg80211: fix width unit in cfg80211_radio_chandef_valid()



The original code used nl80211_chan_width_to_mhz(), which returns the width in MHz.
However, the expected unit is KHz.

Fixes: 510dba80 ("wifi: cfg80211: add helper for checking if a chandef is valid on a radio")
Signed-off-by: default avatarRyder Lee <ryder.lee@mediatek.com>
Link: https://patch.msgid.link/df54294e6c4ed0f3ceff6e818b710478ddfc62c0.1758579480.git.Ryder%20Lee%20ryder.lee@mediatek.com/


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2d6a229e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment