[PATCH] fixed truncated network name for wlan devices

5 views
Skip to first unread message

que...@gmail.com

unread,
Oct 24, 2008, 3:38:45 PM10/24/08
to wmii...@googlegroups.com, ba...@jukie.net, Jan-David Quesel
From: Jan-David Quesel <que...@informatik.uni-oldenburg.de>

---
plugins/network.lua | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/plugins/network.lua b/plugins/network.lua
index c0a40d7..3ccc935 100644
--- a/plugins/network.lua
+++ b/plugins/network.lua
@@ -84,7 +84,6 @@ local function create_device_string(device)
local ssid = "iwconfig " .. device["name"]
local str_ssid = _command(ssid)
str_ssid = str_ssid:gmatch("ESSID:\"(.*)\"")()
- str_ssid = str_ssid.sub(str_ssid, 2, str_ssid.len(str_ssid)-3)
txt = txt .. "@(" .. str_ssid .. ")"
end
end
--
1.6.0.2

Reply all
Reply to author
Forward
0 new messages