mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 13:29:25 +01:00
network: don't allow connection to OWE AKM if disabled
This commit is contained in:
parent
e98a76aefb
commit
31787e3788
@ -911,6 +911,9 @@ int network_can_connect_bss(struct network *network, const struct scan_bss *bss)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (IE_AKM_IS_OWE(rsn.akm_suites) && wiphy_owe_disabled(wiphy))
|
||||
return -EPERM;
|
||||
|
||||
if (!config || !config->have_transition_disable) {
|
||||
if (band == BAND_FREQ_6_GHZ)
|
||||
goto mfp_no_tkip;
|
||||
|
Loading…
Reference in New Issue
Block a user