3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-01 15:49:49 +01:00

station: set extended key capability

If wiphy and the AP suppor it, set the Extended Key ID capability
bit in the RSN info.
This commit is contained in:
James Prestwood 2021-10-08 11:07:24 -07:00 committed by Denis Kenzior
parent 5ff7d113b9
commit 1ec6c46a1d

View File

@ -1087,6 +1087,10 @@ build_ie:
info.ocvc = !disable_ocv; info.ocvc = !disable_ocv;
/* Extended Key IDs can only be used if supported by both AP and STA */
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id)
info.extended_key_id = true;
/* RSN takes priority */ /* RSN takes priority */
if (bss->rsne) { if (bss->rsne) {
ap_ie = bss->rsne; ap_ie = bss->rsne;