mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
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.
This commit is contained in:
parent
ae0fa6207e
commit
8d224624fc
2
src/ft.c
2
src/ft.c
@ -1055,7 +1055,7 @@ int ft_associate(uint32_t ifindex, const uint8_t *addr)
|
|||||||
* a different BSS.
|
* a different BSS.
|
||||||
*/
|
*/
|
||||||
info = ft_info_find(ifindex, addr);
|
info = ft_info_find(ifindex, addr);
|
||||||
if (!info)
|
if (!info || !info->parsed)
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
|
|
||||||
ft_prepare_handshake(info, hs);
|
ft_prepare_handshake(info, hs);
|
||||||
|
Loading…
Reference in New Issue
Block a user