3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00

ie: Fix IE_AKM_IS_FILS macro

Fixes: e30345d699 ("ie: Add IE_AKM_IS_FILS macro")
This commit is contained in:
Denis Kenzior 2021-04-20 09:37:05 -05:00
parent d3eef8b56a
commit 89b3d34dd3

View File

@ -299,8 +299,8 @@ enum ie_rsn_akm_suite {
#define IE_AKM_IS_FILS(akm) \
((akm == IE_RSN_AKM_SUITE_FILS_SHA256) || \
(akm == IE_RSN_AKM_SUITE_FILS_SHA384) || \
(IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256) || \
(IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
(akm == IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256) || \
(akm == IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
#define IE_LEN(ie) \
(ie) ? (ie)[1] + 2 : 0