From: Jo-Philipp Wich Date: Mon, 8 Nov 2010 18:48:05 +0000 (+0000) Subject: modules/admin-full: add requested network id in wifi status JSON response X-Git-Tag: 0.10.0~509 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=614f878fb494eb7ba111e51ee8c99e736ae64397;p=oweals%2Fluci.git modules/admin-full: add requested network id in wifi status JSON response --- 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",