3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +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
* has all the input data even in FT mode.
*/
if (!eapol_start(netdev->sm))
goto error;
if (L_WARN_ON(!eapol_start(netdev->sm)))
goto deauth;
return;
}