1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network/services
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
..
bridger bridger: update to Git HEAD (2024-04-22) 2024-04-22 11:02:52 +02:00
dnsmasq dnsmasq: add fix related to DNSSEC verification from upstream 2025-01-27 23:38:02 +01:00
dropbear dropbear: Name pid file by uci section name 2024-12-12 20:02:38 +01:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd: fix sta psk index for dynamic psk auth 2025-02-12 11:57:50 +01:00
ipset-dns treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
lldpd lldpd: fix config for build without LLDP-MED 2025-01-14 16:02:10 +01:00
odhcpd odhcpd: update to Git HEAD (2024-05-08) 2024-05-08 00:11:19 +02:00
omcproxy treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
ppp ppp: update to 2.5.2 2025-01-05 22:50:20 +01:00
relayd treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
uhttpd uhttpd: restart daemon if certificate has changed 2024-08-19 18:46:08 +02:00
umdns umdns: update to Git HEAD (2025-02-10) 2025-02-10 21:41:05 +01:00
unetd build: conditionally build llvm bpf toolchain by default 2025-02-07 11:16:08 +01:00
ustp ustp: update to Git HEAD (2023-05-29) 2024-04-27 11:40:04 +02:00