openwrt/package
Felix Fietkau 8118b2dace hostapd: fix sta psk index for dynamic psk auth
Depending on the config / circumstances, the get_psk call can be called
multiple times from differnt places, which can lead to wrong sta->psk_idx
values. The correct call is the one that is also interested in the vlan_id,
so use the vlan_id pointer as indication of when to set sta->psk_idx.
Also fix off-by-one error for secondary PSKs

Fixes: b2a2c28617 ("hostapd: add support for authenticating with multiple PSKs via ubus helper")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-12 11:57:50 +01:00
..
base-files build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00
boot uboot-mediatek: port patches for FORESEE NAND support 2025-02-09 22:01:36 +00:00
devel strace: Update to version 6.12 2025-01-02 20:52:14 +01:00
firmware ipq-wifi: update to Git HEAD (2025-02-06) 2025-02-06 14:50:43 +01:00
kernel mac80211: ath11k: poll reo status ring for IPQ5018 2025-02-06 09:51:14 +01:00
libs build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00
network hostapd: fix sta psk index for dynamic psk auth 2025-02-12 11:57:50 +01:00
system procd: update to Git HEAD (2025-01-30) 2025-01-30 18:10:10 +01:00
utils ucode: update to Git HEAD (2025-02-10) 2025-02-10 17:02:20 +01:00
Makefile build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00