]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: fix hostapd config for 160MHz 22482/head
authorShine <4c.fce2@proton.me>
Wed, 18 Mar 2026 20:08:38 +0000 (21:08 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 19 Mar 2026 09:44:24 +0000 (10:44 +0100)
commitc949d0e6c6c24e2bbef58f519816a4d45502f73e
treeb38aaaa6297e330703dd391b241f6fb20254d86b
parentde08715d7fb22f4f96b1d3983500f7ee823cabe3
wifi-scripts: fix hostapd config for 160MHz

After 02e2065203c5e6c95f88e3501644d3e6ad740f89, it can happen that both,
[VHT160-80PLUS80] and [VHT160] are added to the vht_capab option in
an AP's hostapd.conf, which would cause a failure to start the AP.

Fix the logic in order to prevent such misconfiguration.

Fixes: #22481
Signed-off-by: Shine <4c.fce2@proton.me>
Link: https://github.com/openwrt/openwrt/pull/22482
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/hostapd.uc