git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
091857d
)
modules/admin-full: add requested network id in wifi status JSON response
author
Jo-Philipp Wich
<redacted>
Mon, 8 Nov 2010 18:48:05 +0000
(18:48 +0000)
committer
Jo-Philipp Wich
<redacted>
Mon, 8 Nov 2010 18:48:05 +0000
(18:48 +0000)
modules/admin-full/luasrc/controller/admin/network.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/controller/admin/network.lua
b/modules/admin-full/luasrc/controller/admin/network.lua
index a6324f427d7026928350cec68945fdbcfac82501..df4529d3413b2a7969400c1cab9e120ca4a164ea 100644
(file)
--- a/
modules/admin-full/luasrc/controller/admin/network.lua
+++ b/
modules/admin-full/luasrc/controller/admin/network.lua
@@
-231,7
+231,7
@@
function wifi_status()
local iw = luci.sys.wifi.getiwinfo(dev)
if iw then
local f
- local j = { }
+ local j = {
id = dev
}
for _, f in ipairs({
"channel", "frequency", "txpower", "bitrate", "signal", "noise",
"quality", "quality_max", "mode", "ssid", "bssid", "country",
git clone https://git.99rst.org/PROJECT