diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-26 17:38:14 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-09-26 17:38:14 +0000 |
commit | 14facbd91d3179c9a2c677e86b5425f93ba6b4b3 (patch) | |
tree | 9f63a82888e37de2133dad81e78411f1d4780013 /modules | |
parent | 02ac6686fe8165a3965fd79e3fb32aaf1f831c79 (diff) |
modules/admin-full: cope with undefined scan list in wifi_join
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_network/wifi_join.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_join.htm b/modules/admin-full/luasrc/view/admin_network/wifi_join.htm index d7376e7850..f3b6dddefc 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_join.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_join.htm @@ -82,7 +82,7 @@ $Id$ local s = { } for i = 1, times do - for k, v in ipairs(iw.scanlist) do + for k, v in ipairs(iw.scanlist or { }) do if not s[v.bssid] then l[#l+1] = v s[v.bssid] = true |