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>
Fri, 15 Jan 2016 13:13:44 +0000 (14:13 +0100)
commit12ec21d74430f5d592435589badfad60ad92c52d
treeceae5c1ba9c041d8fdf8177a00e93a7dd6623b90
parent81e80c4b876e8e68bb8b022c39d0941e2c1ccb56
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