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:
parent
5ff7d113b9
commit
1ec6c46a1d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user