mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
station: Use IE_CIPHER_IS_GCMP_CCMP
This commit is contained in:
parent
e61cada28f
commit
fb9bcdadec
@ -1167,8 +1167,7 @@ build_ie:
|
|||||||
* also indicates support.
|
* also indicates support.
|
||||||
*/
|
*/
|
||||||
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id &&
|
if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id &&
|
||||||
(info.pairwise_ciphers & (IE_RSN_CIPHER_SUITE_CCMP |
|
IE_CIPHER_IS_GCMP_CCMP(info.pairwise_ciphers))
|
||||||
IE_RSN_CIPHER_SUITE_GCMP)))
|
|
||||||
info.extended_key_id = true;
|
info.extended_key_id = true;
|
||||||
|
|
||||||
/* RSN takes priority */
|
/* RSN takes priority */
|
||||||
|
Loading…
Reference in New Issue
Block a user