3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +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;
/* 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 */
if (bss->rsne) {
ap_ie = bss->rsne;