diff options
author | Steven Barth <steven@midlink.org> | 2008-04-22 15:06:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-04-22 15:06:38 +0000 |
commit | eb9a1093c274bf33f9d7a798f0030821da637663 (patch) | |
tree | a128436c9b880da48834c1c5b2d1efc2eca9a7b0 /core/src/ffluci | |
parent | 7eb6eebf51c300d6e3f71faae520d461b6babe7d (diff) |
* ffluci.controller.public.olsr: Renamed a variable to not overwrite Lua core functions
* ffluci.sys.wifi.iwscan: Fixed Wlan-Scan parsing algorithm
* ffluci.view.sudo_status.iwscan: Fixed Frequency / Channel row to match different kinds of available data
Diffstat (limited to 'core/src/ffluci')
-rw-r--r-- | core/src/ffluci/sys.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ffluci/sys.lua b/core/src/ffluci/sys.lua index b9d529a8c..c97017d8d 100644 --- a/core/src/ffluci/sys.lua +++ b/core/src/ffluci/sys.lua @@ -241,12 +241,13 @@ function wifi.iwscan() for i, l in pairs(ffluci.util.split(ffluci.util.trim(cnt), "\n\n")) do local k = l:match("^(.-) ") l = l:gsub("^[^\n]+", "", 1) + l = ffluci.util.trim(l) if k then iws[k] = {} for j, c in pairs(ffluci.util.split(l, "\n Cell")) do c = c:gsub("^(.-)- ", "", 1) c = ffluci.util.split(c, "\n", 7) - c = table.concat(c, "\n", 1, 7) + c = table.concat(c, "\n", 1) table.insert(iws[k], _parse_mixed_record(c)) end end |