diff --git a/src/ie.c b/src/ie.c index 94ec1c81..0a008047 100644 --- a/src/ie.c +++ b/src/ie.c @@ -980,7 +980,6 @@ done: * Use of CCMP as the group cipher suite with TKIP as the * pairwise cipher suite shall not be supported. */ - if (info.group_cipher & IE_RSN_CIPHER_SUITE_CCMP && info.pairwise_ciphers & IE_RSN_CIPHER_SUITE_TKIP) return -EBADMSG; @@ -1036,7 +1035,6 @@ bool ie_build_wpa(const struct ie_rsn_info *info, uint8_t *to) * Use of CCMP as the group cipher suite with TKIP as the * pairwise cipher suite shall not be supported. */ - if (info->group_cipher & IE_RSN_CIPHER_SUITE_CCMP && info->pairwise_ciphers & IE_RSN_CIPHER_SUITE_TKIP) return false;