luci-mod-admin-full: place 80211w options behind a check for wpad-full
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 14 Feb 2017 21:30:51 +0000 (23:30 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 14 Feb 2017 21:30:51 +0000 (23:30 +0200)
commit07e01d094eb25e1f036e85b8cfc5aceccc56003c
treeea76e9d2e440833202d7ba8d35ef3b1088cf7f23
parentd0dda31644789757aa01fe26a80594d068e85da9
luci-mod-admin-full: place 80211w options behind a check for wpad-full

The default hostapd/wpad mini version does not support ieee80211w
and the option's visibility in LuCI may lead it to be placed in user's
/etc/config/wireless preventing wifi from starting.

Check for hostapd/wpad full before exposing the option.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua