mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 01:41:41 +00:00
wifi-scripts: add a few missing auth_type checks in ucode
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Add some missing documented or commonly used values Fixes: https://github.com/openwrt/openwrt/issues/17431 Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
f22febae1a
commit
7482296ebf
@ -71,12 +71,22 @@ export function parse_encryption(config) {
|
||||
config.auth_type = 'eap2';
|
||||
break;
|
||||
|
||||
case 'psk-mixed':
|
||||
config.auth_type = "psk";
|
||||
break;
|
||||
|
||||
case 'psk3':
|
||||
config.auth_type = 'sae';
|
||||
break;
|
||||
|
||||
case 'psk3-mixed':
|
||||
case 'sae-mixed':
|
||||
config.auth_type = 'psk-sae';
|
||||
break;
|
||||
|
||||
case 'wpa':
|
||||
case 'wpa2':
|
||||
case 'wpa-mixed':
|
||||
config.auth_type = 'eap';
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user