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 <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2022-09-01 18:08:56 +03:00
parent 46181e5ace
commit 2c3c7f5c50

View file

@ -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.'));