wifi-scripts: allow sae_password_file to be configured
authorRany Hany <[email protected]>
Sat, 6 Sep 2025 11:06:15 +0000 (11:06 +0000)
committerRobert Marko <[email protected]>
Mon, 10 Nov 2025 14:21:45 +0000 (15:21 +0100)
Adds missing config_add_string for sae_password_file.

Fixes: 65a1c666f2 ("hostapd: add SAE support for wifi-station and optimize PSK file creation")
Fixes: https://github.com/openwrt/openwrt/issues/19717
Signed-off-by: Rany Hany <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19964
Signed-off-by: Robert Marko <[email protected]>
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh

index 13d96fe2cb4c2899ba2b0c1780589f2e28dda2f9..1b8369c5a419eaf3e28d9fdcb04fdac4f2202ae7 100644 (file)
@@ -322,7 +322,7 @@ hostapd_common_add_bss_config() {
 
        config_add_string 'key1:wepkey' 'key2:wepkey' 'key3:wepkey' 'key4:wepkey' 'password:wpakey'
 
-       config_add_string wpa_psk_file
+       config_add_string wpa_psk_file sae_password_file
 
        config_add_int multi_ap