From: Hannu Nyman Date: Thu, 1 Sep 2022 15:08:56 +0000 (+0300) Subject: luci-mod-network: Offer ft-over-air by default for 802.11r X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2c3c7f5c50efd71bf87c068359cb0110a513186f;p=project%2Fluci.git luci-mod-network: Offer ft-over-air by default for 802.11r OpenWrt commit 2984a0420 changed the default 802.11r Fast Transition method to be ft-over-air instead of ft-over-ds. Offer ft-over-air as the first item in the drop-down list, so that it gets selected by default when 802.11r option is enabled. Signed-off-by: Hannu Nyman --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index 9b4cb06f29..e5e2173462 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -1544,8 +1544,8 @@ return view.extend({ o = ss.taboption('encryption', form.ListValue, 'ft_over_ds', _('FT protocol')); o.depends({ ieee80211r: '1' }); - o.value('1', _('FT over DS')); o.value('0', _('FT over the Air')); + o.value('1', _('FT over DS')); o.rmempty = true; o = ss.taboption('encryption', form.Flag, 'ft_psk_generate_local', _('Generate PMK locally'), _('When using a PSK, the PMK can be automatically generated. When enabled, the R0/R1 key options below are not applied. Disable this to use the R0 and R1 key options.'));