mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-20 16:32:39 +04:00
6a68c2fef0
Currently wifi-scripts ucode appends airtime_mode to hostapd config file unconditionally. However this breaks bringing up interface with hostapd-mini because the mini variant doesn't support airtime policy. Fix this by changing the script to append airtime_mode only when airtime_mode is set to greater than zero value in /etc/config/wireless. Fixes: #20136 Fixes: #20314 Signed-off-by: Zhi-Jun You <hujy652@protonmail.com>