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
1 changed files with 2 additions and 2 deletions

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;
} }