mirror of https://github.com/aredn/aredn.git
wifi_chanbw should always be a string
This commit is contained in:
parent
43fe20f2bd
commit
f0bfad55d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue