linux/drivers/net/wireless
Benjamin Berg 1251bbdb8f wifi: mac80211_hwsim: fix typo in frequency notification
[ Upstream commit 333418872b ]

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: a37a6f5443 ("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>
History 2026-01-17 16:35:29 +01:00
..
admtek wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
ath wifi: ath12k: Fix timeout error during beacon stats retrieval 2025-12-18 14:02:52 +01:00
atmel wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
broadcom wifi: brcmfmac: Add DMI nvram filename quirk for Acer A1 840 tablet 2026-01-02 12:56:41 +01:00
intel wifi: iwlwifi: Fix firmware version handling 2026-01-08 10:17:12 +01:00
intersil wifi: mac80211: support parsing S1G TIM PVB 2025-09-04 11:19:01 +02:00
marvell wifi: mwl8k: inject DSSS Parameter Set element into beacons if missing 2025-11-11 11:38:57 +01:00
mediatek wifi: mt76: Fix DTS power-limits on little endian systems 2026-01-02 12:57:08 +01:00
microchip Plenty of things going on, notably: 2025-09-11 17:50:46 -07:00
purelifi wifi: plfxlc: Fix error handling in usb driver probe 2025-07-18 14:23:23 +02:00
quantenna wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
ralink Plenty of things going on, notably: 2025-09-11 17:50:46 -07:00
realtek wifi: rtlwifi: 8192cu: fix tid out of range in rtl92cu_tx_fill_desc() 2026-01-08 10:16:42 +01:00
rsi wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
silabs wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
st wifi: cw1200: Fix potential memory leak in cw1200_bh_rx_helper() 2025-12-18 14:02:55 +01:00
ti Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
virtual wifi: mac80211_hwsim: fix typo in frequency notification 2026-01-17 16:35:29 +01:00
zydas wifi: zd1211rw: fix potential memory leak in __zd_usb_enable_rx() 2025-10-30 08:41:10 +01:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00