luci/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network
Hannu Nyman f02794f28c luci-mod-admin-full: prevent accidental deletion of 802.11r nasid
The same wifi option 'nasid' is used for two purposes,
RADIUS NAS ID and 802.11r NAS ID / R0KH-ID.

In LuCI the 'nasid' option has depended on WPA-EAP/WPA2-EAP, which
can lead to accidental deletion of the option, if the user modifies
any wifi settings while he has WPA(2)-PSK & 802.11r mode.

802.11r can also be with WPA(2)-PSK, so add them to the dependency
list of allowed encryptions.

(Note: after this fix the 'nasid' field is shown unnecessarily
to "normal" WPA(2)-PSK users. It might later be set to depend on
802.11r being used, after 802.11r has been added to LuCI.)

Reference to bugs:
https://github.com/openwrt/luci/issues/844
https://dev.openwrt.org/ticket/20764
https://bugs.lede-project.org/index.php?do=details&task_id=274

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-09 10:23:53 +02:00
..
dhcp.lua Typo 2016-10-21 20:24:57 +02:00
hosts.lua luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors() 2015-01-22 18:45:28 +01:00
iface_add.lua luci-mod-admin-full: limit interface name length to 15 chars 2015-11-05 11:00:41 +02:00
ifaces.lua luci-mod-admin-full: Fix dhcpv6 ra_management option stateless value 2016-03-19 15:38:41 +02:00
network.lua luci-mod-admin-full: add dsl configuration 2016-03-07 20:59:19 +01:00
proto_ahcp.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
routes.lua luci-mod-admin-full: routes: specify sizes for metric and MTU 2016-10-08 18:41:52 +02:00
vlan.lua luci-mod-admin-full: fallback to generic switch topology 2016-08-18 09:23:32 +02:00
wifi.lua luci-mod-admin-full: prevent accidental deletion of 802.11r nasid 2017-02-09 10:23:53 +02:00
wifi_add.lua luci-mod-admin-full: Fix display problem of wifi_add 2017-01-15 02:16:33 +09:00