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

netdev: deauth if eapol_start fails

This commit is contained in:
Denis Kenzior 2021-09-03 14:40:16 -05:00
parent 8b6ad5d3b9
commit dd9265f2db

View File

@ -2527,8 +2527,8 @@ process_resp_ies:
* Start processing EAPoL frames now that the state machine * Start processing EAPoL frames now that the state machine
* has all the input data even in FT mode. * has all the input data even in FT mode.
*/ */
if (!eapol_start(netdev->sm)) if (L_WARN_ON(!eapol_start(netdev->sm)))
goto error; goto deauth;
return; return;
} }