netdev: fail early on unsuccessful eapol_start
This commit is contained in:
parent
3f4b5a98f5
commit
adc203184b
|
@ -1607,7 +1607,8 @@ static void netdev_connect_event(struct l_genl_msg *msg,
|
||||||
* 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.
|
||||||
*/
|
*/
|
||||||
eapol_start(netdev->sm);
|
if (!eapol_start(netdev->sm))
|
||||||
|
goto error;
|
||||||
|
|
||||||
if (!netdev->in_ft) {
|
if (!netdev->in_ft) {
|
||||||
if (netdev->event_filter)
|
if (netdev->event_filter)
|
||||||
|
|
Loading…
Reference in New Issue