wifi: return 0 not N/A when channel is unavailable
This commit is contained in:
parent
f50ad217ea
commit
4fc6dffe94
|
@ -29,7 +29,7 @@ local function worker(format, warg)
|
|||
local winfo = {
|
||||
["{ssid}"] = "N/A",
|
||||
["{mode}"] = "N/A",
|
||||
["{chan}"] = "N/A",
|
||||
["{chan}"] = 0,
|
||||
["{rate}"] = 0,
|
||||
["{link}"] = 0,
|
||||
["{sign}"] = 0
|
||||
|
|
Loading…
Reference in New Issue