commit df04877a6769b31c79caad00a0d84b2b79631179 parent 7fc0a8fc0f3c1b2d9af1073bda17898d7d29e4c3 Author: James Prestwood <prestwoj@gmail.com> Date: Wed, 12 May 2021 16:01:48 -0700 station: use IE_AKM_IS_FT when possible Update a check to use IE_AKM_IS_FT as the condition is identical to the macro. Diffstat:
| M | src/station.c | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/station.c b/src/station.c @@ -865,11 +865,7 @@ build_ie: if (!handshake_state_set_supplicant_ie(hs, rsne_buf)) goto not_supported; - if (info.akm_suites & (IE_RSN_AKM_SUITE_FT_OVER_8021X | - IE_RSN_AKM_SUITE_FT_USING_PSK | - IE_RSN_AKM_SUITE_FT_OVER_SAE_SHA256 | - IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 | - IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384)) + if (IE_AKM_IS_FT(info.akm_suites)) add_mde = true; open_network: