diff mbox series

hostapd: allow PPSK to be enabled for sae, psk-sae

Message ID mailman.20608.1690104408.1880391.openwrt-devel@lists.openwrt.org
State New
Headers show
Series hostapd: allow PPSK to be enabled for sae, psk-sae | expand

Commit Message

Shenghao Yang July 23, 2023, 9:26 a.m. UTC
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Using a RADIUS supplied password for SAE was supported since upstream
hostapd commit fcbdaae8a52e542705a651ee78b39b02935fda20.

Tested on 23.05-rc2 with hostapd-openssl.

Signed-off-by: Shenghao Yang <me@shenghaoyang.info>
---
  package/network/services/hostapd/files/hostapd.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index bf3625c92d..3606f06f58 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -670,7 +670,7 @@  hostapd_set_bss_options() {
  		;;
  		psk|sae|psk-sae)
  			json_get_vars key wpa_psk_file
-			if [ "$auth_type" = "psk" ] && [ "$ppsk" -ne 0 ] ; then
+			if [ "$ppsk" -ne 0 ] ; then
  				json_get_vars auth_secret auth_port
  				set_default auth_port 1812
  				json_for_each_item append_auth_server auth_server