linux-kernelorg-stable/net/wireless
Ryder Lee 17f34ab55a 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: 510dba80ed ("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>
2025-09-23 09:50:02 +02:00
..
certs
tests
.gitignore
Kconfig
Makefile
ap.c
chan.c wifi: cfg80211: correctly implement and validate S1G chandef 2025-09-19 11:55:56 +02:00
core.c wifi: nl80211: allow drivers to support subset of NL80211_CMD_SET_BSS 2025-09-04 11:19:02 +02:00
core.h
debugfs.c
debugfs.h
ethtool.c wifi: cfg80211: Remove the redundant wiphy_dev 2025-09-10 15:05:48 +02:00
ibss.c
mesh.c
mlme.c wifi: cfg80211: reject HTC bit for management frames 2025-07-21 19:35:45 +02:00
nl80211.c wifi: cfg80211: remove IEEE80211_CHAN_{1,2,4,8,16}MHZ flags 2025-09-22 09:03:14 +02:00
nl80211.h
ocb.c
of.c
pmsr.c
radiotap.c
rdev-ops.h
reg.c wifi: cfg80211: correctly implement and validate S1G chandef 2025-09-19 11:55:56 +02:00
reg.h
scan.c Plenty of things going on, notably: 2025-09-11 17:50:46 -07:00
sme.c wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result() 2025-09-03 09:37:55 +02:00
sysfs.c
sysfs.h
trace.c
trace.h wifi: cfg80211: Add cluster joined notification APIs 2025-09-19 11:26:21 +02:00
util.c wifi: cfg80211: fix width unit in cfg80211_radio_chandef_valid() 2025-09-23 09:50:02 +02:00
wext-compat.c
wext-compat.h
wext-core.c net: s/dev_get_flags/netif_get_flags/ 2025-07-18 17:27:47 -07:00
wext-priv.c
wext-proc.c
wext-sme.c