3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

netdev: fail early on unsuccessful eapol_start

This commit is contained in:
Tim Kourt 2017-10-27 14:41:01 -07:00 committed by Denis Kenzior
parent 3f4b5a98f5
commit adc203184b

View File

@ -1607,7 +1607,8 @@ static void netdev_connect_event(struct l_genl_msg *msg,
* Start processing EAPoL frames now that the state machine
* has all the input data even in FT mode.
*/
eapol_start(netdev->sm);
if (!eapol_start(netdev->sm))
goto error;
if (!netdev->in_ft) {
if (netdev->event_filter)