wifi_chanbw should always be a string

This commit is contained in:
Tim Wilkinson 2022-07-21 14:10:23 -07:00 committed by Joe AE6XE
parent 43fe20f2bd
commit f0bfad55d0
1 changed files with 1 additions and 1 deletions

View File

@ -1056,7 +1056,7 @@ html.print("<tr><td><nobr>IP Address</nobr></td><td><input type=text size=15 nam
if nixio.fs.stat("/etc/config/unconfigured") or parms.button_reset then
local defaultwifi = aredn.hardware.get_default_channel()
wifi_channel = defaultwifi.channel
wifi_chanbw = defaultwifi.bandwidth
wifi_chanbw = tostring(defaultwifi.bandwidth)
end
if wifi_enable == "1" then