From 614f878fb494eb7ba111e51ee8c99e736ae64397 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Nov 2010 18:48:05 +0000 Subject: modules/admin-full: add requested network id in wifi status JSON response --- modules/admin-full/luasrc/controller/admin/network.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full') diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index a6324f427..df4529d34 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", -- cgit v1.2.3