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:43:05 +0000 (23:43 +0200)
commit7e6b3d1eb93aac0ae64468abbfb05cc4a46652ed
treee4ecac5c52e78a6020e940086d983833f15a65d3
parent36132365052b294cef1f14b5eec02e61dc4de6f4
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>
(cherry picked from commit 07e01d094eb25e1f036e85b8cfc5aceccc56003c)
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua