commit 1ec6c46a1dc10d487b31c7585be5b2ccf180a944
parent 5ff7d113b93dd593daf4307363d021fbdc74e33a
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 8 Oct 2021 11:07:24 -0700
station: set extended key capability
If wiphy and the AP suppor it, set the Extended Key ID capability
bit in the RSN info.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/station.c b/src/station.c
@@ -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;