luci-mod-admin-full: avoid indexing iw.hwmodelist directly
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 15 Jan 2016 13:13:44 +0000 (14:13 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 18 Jan 2016 09:18:02 +0000 (10:18 +0100)
commit31cfd4df4ce1eb651100c351235de9afadea1978
tree678553e1fa4f3f96c7252e2c7b9480ceb97f8958
parent956be556711fa40697d4b63c3acb8f3dd5fa5c74
luci-mod-admin-full: avoid indexing iw.hwmodelist directly

Prevent a nil field access when hwmodelist is undefined.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua