summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-09-26 17:38:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-09-26 17:38:14 +0000
commit14facbd91d3179c9a2c677e86b5425f93ba6b4b3 (patch)
tree9f63a82888e37de2133dad81e78411f1d4780013 /modules/admin-full
parent02ac6686fe8165a3965fd79e3fb32aaf1f831c79 (diff)
modules/admin-full: cope with undefined scan list in wifi_join
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/view/admin_network/wifi_join.htm2
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 d7376e785..f3b6dddef 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