diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-08 18:48:05 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-08 18:48:05 +0000 |
commit | 614f878fb494eb7ba111e51ee8c99e736ae64397 (patch) | |
tree | f76978d349293a8b9bed4e15ab8a187bca50fd36 /modules/admin-full/luasrc | |
parent | 091857d3a8daf894948987b591010a05f74ef70d (diff) |
modules/admin-full: add requested network id in wifi status JSON response
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/network.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index a6324f427d..df4529d341 100644 --- 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", |