We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe5dec commit 5e53f29Copy full SHA for 5e53f29
1 file changed
openwisp-monitoring/files/lib/openwisp-monitoring/wifi.lua
@@ -27,7 +27,7 @@ function wifi.invert_rx_tx(interface)
27
end
28
29
function wifi.parse_hostapd_clients(clients,exclude_mac)
30
- local data = {}
+ local data
31
for mac, properties in pairs(clients) do
32
if not exclude_mac[mac] then
33
properties.mac = mac
@@ -38,7 +38,7 @@ function wifi.parse_hostapd_clients(clients,exclude_mac)
38
39
40
function wifi.parse_iwinfo_clients(clients,exclude_mac)
41
42
for _, p in pairs(clients) do
43
if not exclude_mac[p.mac] then
44
local client = {}
0 commit comments