mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-20 19:12:33 +01:00
network: update network_bss_select for mfp
Update network_bss_select for MFP. Particularly the scenario when all BSSes inside the bss_list have MFPR set, but we're not BIP capable.
This commit is contained in:
parent
17527d4570
commit
b47c82102e
@ -492,6 +492,10 @@ struct scan_bss *network_bss_select(struct network *network)
|
||||
memset(&rsn, 0, sizeof(rsn));
|
||||
scan_bss_get_rsn_info(bss, &rsn);
|
||||
|
||||
if (rsn.mfpr && !wiphy_select_cipher(wiphy,
|
||||
rsn.group_management_cipher))
|
||||
continue;
|
||||
|
||||
if (wiphy_select_cipher(wiphy, rsn.pairwise_ciphers) &&
|
||||
wiphy_select_cipher(wiphy,
|
||||
rsn.group_cipher))
|
||||
|
Loading…
Reference in New Issue
Block a user