From 8d224624fc99f61d6d23bc98d2073e4e7a95b708 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 27 Sep 2022 16:15:49 -0700 Subject: [PATCH] ft: fix ft_associate to verify if authentication succeeded ft_associate was only checking the presence of the info structure, not if it actually succeeded to authenticate. --- src/ft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ft.c b/src/ft.c index 5b53810a..cc13d2bf 100644 --- a/src/ft.c +++ b/src/ft.c @@ -1055,7 +1055,7 @@ int ft_associate(uint32_t ifindex, const uint8_t *addr) * a different BSS. */ info = ft_info_find(ifindex, addr); - if (!info) + if (!info || !info->parsed) return -ENOENT; ft_prepare_handshake(info, hs);