3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

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

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 */