aboutsummaryrefslogtreecommitdiff
path: root/widgets/wifi.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-15 17:54:28 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-15 17:54:28 +0100
commit4fc6dffe94d01a4696bf1f7420b79b05ecf5d35c (patch)
tree285da3f259dd3c5d64e22dd2ded6b149b58457e1 /widgets/wifi.lua
parentf50ad217ea8db1f21ef6561ec01e4bae387273e5 (diff)
downloadvicious-legacy-4fc6dffe94d01a4696bf1f7420b79b05ecf5d35c.tar.xz
wifi: return 0 not N/A when channel is unavailable
Diffstat (limited to 'widgets/wifi.lua')
-rw-r--r--widgets/wifi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/wifi.lua b/widgets/wifi.lua
index ca578d1..61dee12 100644
--- a/widgets/wifi.lua
+++ b/widgets/wifi.lua
@@ -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