station: Use IE_CIPHER_IS_GCMP_CCMP

This commit is contained in:
Denis Kenzior 2022-10-21 11:10:58 -05:00
parent e61cada28f
commit fb9bcdadec
1 changed files with 1 additions and 2 deletions

View File

@ -1167,8 +1167,7 @@ build_ie:
* also indicates support.
*/
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id &&
(info.pairwise_ciphers & (IE_RSN_CIPHER_SUITE_CCMP |
IE_RSN_CIPHER_SUITE_GCMP)))
IE_CIPHER_IS_GCMP_CCMP(info.pairwise_ciphers))
info.extended_key_id = true;
/* RSN takes priority */