From 63d70daae1921d9f5a92cf2221ca4f1601c78ef5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 20 Jan 2016 17:29:40 +0100 Subject: luci-mod-admin-full: align assoclist in wifi overview with status index page Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_network/wifi_overview.htm | 59 ++++++++++++---------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm index f82d06dcd..4632673a7 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -88,12 +88,7 @@ end end - local devices = ntm:get_wifidevs() - local arpcache = { } - ip.neighbors({ family = 4 }, function(n) - if n.mac and n.dest then arpcache[n.mac:upper()] = n.dest:string() end - end) - + local devices = ntm:get_wifidevs() local netlist = { } local netdevs = { } @@ -119,7 +114,6 @@