diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2025-09-22 22:19:08 +0000 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-09-23 09:50:02 +0200 |
commit | 17f34ab55a8518ecbd5dcacec48e6ee903f7c1d0 (patch) | |
tree | 9bb9bb3b04df8006d9877ef6948e521b0f9d4c51 /rust/helpers/workqueue.c | |
parent | 2d6a229ecc2d4458352af431cf5d0382fc40c8cd (diff) |
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: 510dba80ed66 ("wifi: cfg80211: add helper for checking if a chandef is valid on a radio")
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Link: https://patch.msgid.link/df54294e6c4ed0f3ceff6e818b710478ddfc62c0.1758579480.git.Ryder%20Lee%20ryder.lee@mediatek.com/
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions