]> git.ipfire.org Git - thirdparty/openwrt.git/commit
hostapd: fix EAP-PWD in experimental hostapd-radius server main master
authorYaroslav Isakov <yaroslav.isakov@gmail.com>
Sat, 14 Feb 2026 18:35:06 +0000 (19:35 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 19 Feb 2026 15:13:02 +0000 (16:13 +0100)
commit9d78b2f53c48ddbc2f978e3365af183c69a33c84
treef0aa5f2148f07bc8a39bd62e40c6bcd5ff88ccc3
parent50d3d287e4cfafd5e0cf727d55472df7bd0e1c0c
hostapd: fix EAP-PWD in experimental hostapd-radius server

Without initializing pwd_group, it's set to 0, which is reserved value.
When EAP-PWD is used in wpa_supplicant/eapol_test, next error is seen:
EAP-PWD: Server EAP-pwd-ID proposal: group=0 random=1 prf=1 prep=0
EAP-pwd: Unsupported or disabled proposal

Signed-off-by: Yaroslav Isakov <yaroslav.isakov@gmail.com>
package/network/services/hostapd/src/hostapd/radius.c