wifi-scripts: ucode: fix init value of config.ht_capab under 20MHz
authorZhi-Jun You <[email protected]>
Thu, 13 Nov 2025 10:00:17 +0000 (18:00 +0800)
committerHauke Mehrtens <[email protected]>
Sat, 15 Nov 2025 18:45:37 +0000 (19:45 +0100)
commit7ea377ed715078c9559891d69a455e0796be4eed
tree7fb9ebe6e09acbfdead24373b2218652eae7fa55
parentc4986bf921faebe49396a49402c17160609fec93
wifi-scripts: ucode: fix init value of config.ht_capab under 20MHz

Currently the path for setting 20MHz doesn't set ht_capab to '' at the
beginning which results in null in ht_capab in hostapd.conf.

Fix this by setting config.ht_capab to '' for 20MHz htmode.

Fixes: #20762
Signed-off-by: Zhi-Jun You <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20768
Signed-off-by: Hauke Mehrtens <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc