aboutsummaryrefslogtreecommitdiff
path: root/wifi.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-01-29 16:41:40 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-01-29 16:48:01 +0100
commit71566e04840201f13b1e869fd17a3576460dff9a (patch)
treed06b9dfee91197474dcc21aea27333de5749d83f /wifi.lua
parent8fe4cf436afd24877ebe0fb6d706cbafdc2cc4e7 (diff)
downloadvicious-legacy-71566e04840201f13b1e869fd17a3576460dff9a.tar.xz
dio: further improved support for multiple devices
Diffstat (limited to 'wifi.lua')
-rw-r--r--wifi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/wifi.lua b/wifi.lua
index f78aed6..8a91c1e 100644
--- a/wifi.lua
+++ b/wifi.lua
@@ -41,8 +41,8 @@ local function worker(format, iface)
return winfo
end
- -- The output differs from system to system, some stats can
- -- be separated by =, and not all drivers report all stats
+ -- Output differs from system to system, some stats can be
+ -- separated by =, and not all drivers report all stats
winfo["{ssid}"] = -- SSID can have almost anything in it
string.match(iw, 'ESSID[=:]"([%w%p]+[%s]*[%w%p]*]*)"') or winfo["{ssid}"]
winfo["{mode}"] = -- Modes are simple, but also match the "-" in Ad-Hoc