openwrt-pf/package
Hauke Mehrtens 0cdf956ee1 wifi-scripts: ucode: fix EAP phase2 authentication method
The supplicant config generator emitted the phase2 directive as
phase2="auth=${auth}" for every PEAP/TTLS/FAST configuration. That is
wrong whenever the configured inner method is an EAP method: for
auth='EAP-MSCHAPV2' it produced phase2="auth=EAP-MSCHAPV2", which
wpa_supplicant rejects with:

  TLS: Unsupported Phase2 EAP method 'EAP-MSCHAPV2'

breaking WPA-Enterprise clients that use an EAP inner method.

Mirror the shell config generator (hostapd.sh): strip the "EAP-" prefix
and pick the phase2 prefix from the method type, i.e. "autheap=" for a
tunneled EAP method with TTLS and "auth=" for a non-EAP method or a
full "auth=..." spec provided by the user.

Fixes: https://github.com/openwrt/openwrt/issues/24086
Fixes: c92ded2f6e ("wifi-scripts: fix EAP STA support in supplicant config generation")
Assisted-by: Claude:claude-opus-4-8
Link: https://github.com/openwrt/openwrt/pull/24088
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-07-07 01:50:56 +02:00
..
base-files base-files: derive DHCP DUID from device MAC address 2026-06-24 11:21:28 +02:00
boot uboot-at91: fix build failure with GCC 14.4 2026-07-03 22:14:17 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware intel-microcode: fix build error on rebuild 2026-07-05 17:55:50 +02:00
kernel kernel-packages: video: remove path variables 2026-07-06 11:22:01 +02:00
libs elfutils: add $(FPIC) to LDFLAGS 2026-07-06 15:26:29 +02:00
network wifi-scripts: ucode: fix EAP phase2 authentication method 2026-07-07 01:50:56 +02:00
system ubus: update to Git HEAD (2026-06-28) 2026-06-28 16:48:20 +02:00
utils nilfs-utils: update to 2.3.1 2026-07-05 23:41:36 +02:00
Makefile build: add CycloneDX SBOM processing to apk 2026-05-17 12:21:09 +02:00