diff options
| author | Benjamin Berg <benjamin.berg@intel.com> | 2026-01-07 14:36:51 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-17 16:35:29 +0100 |
| commit | 1251bbdb8f5b2ea86ca9b4268a2e6aa34372ab33 (patch) | |
| tree | 2bf192eb386edf37ae09ad8f568afce5696774b1 /include/net/aligned_data.h | |
| parent | 72f93dc6d1a6b157e0c3d247085c74935893cca0 (diff) | |
wifi: mac80211_hwsim: fix typo in frequency notification
[ Upstream commit 333418872bfecf4843f1ded7a4151685dfcf07d5 ]
The NAN notification is for 5745 MHz which corresponds to channel 149
and not 5475 which is not actually a valid channel. This could result in
a NULL pointer dereference in cfg80211_next_nan_dw_notif.
Fixes: a37a6f54439b ("wifi: mac80211_hwsim: Add simulation support for NAN device")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260107143652.7dab2035836f.Iacbaf7bb94ed5c14a0928a625827e4137d8bfede@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
