wifi-scripts: ucode: fix hostapd_bss_options
authorEneas U de Queiroz <[email protected]>
Mon, 3 Nov 2025 20:03:07 +0000 (17:03 -0300)
committerChristian Marangi <[email protected]>
Fri, 7 Nov 2025 18:41:01 +0000 (19:41 +0100)
The raw option inside 'config wifi-iface' is called hostapd_bss_options,
not hostapd_options.

Signed-off-by: Eneas U de Queiroz <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20657
Signed-off-by: Christian Marangi <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc

index 6c2309e626f27d09c44f0a63fffca8f1cbb2219b..f35761c6169d8111f52a817022bc168cb63584de 100644 (file)
@@ -502,7 +502,7 @@ export function generate(interface, data, config, vlans, stas, phy_features) {
        }
 
        /* raw options */
-       for (let raw in config.hostapd_options)
+       for (let raw in config.hostapd_bss_options)
                append_raw(raw);
 
        if (config.mlo) {