mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
parent
5515aa0c3e
commit
a033c93bbb
@ -570,6 +570,10 @@ local function __security_cfg(cfgs, vif_idx)
|
|||||||
|
|
||||||
local __authmode = http.formvalue("__authmode") or "Disable"
|
local __authmode = http.formvalue("__authmode") or "Disable"
|
||||||
cfgs.AuthMode = mtkwifi.token_set(cfgs.AuthMode, vif_idx, __authmode)
|
cfgs.AuthMode = mtkwifi.token_set(cfgs.AuthMode, vif_idx, __authmode)
|
||||||
|
cfgs.WpaMixPairCipher = ""
|
||||||
|
cfgs.PMFMFPC = "0"
|
||||||
|
cfgs.PMFMFPR = "0"
|
||||||
|
cfgs.PMFSHA256 = "0"
|
||||||
|
|
||||||
if __authmode == "Disable" then
|
if __authmode == "Disable" then
|
||||||
cfgs.AuthMode = mtkwifi.token_set(cfgs.AuthMode, vif_idx, "OPEN")
|
cfgs.AuthMode = mtkwifi.token_set(cfgs.AuthMode, vif_idx, "OPEN")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user