netdev: Call eapol_cancel if operstate fails
This commit is contained in:
parent
830af391e2
commit
45dabb9e44
|
@ -409,6 +409,8 @@ static void netdev_operstate_cb(bool success, void *user_data)
|
||||||
MPDU_REASON_CODE_UNSPECIFIED);
|
MPDU_REASON_CODE_UNSPECIFIED);
|
||||||
l_genl_family_send(nl80211, msg, NULL, NULL, NULL);
|
l_genl_family_send(nl80211, msg, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
eapol_cancel(netdev->index);
|
||||||
|
|
||||||
result = NETDEV_RESULT_KEY_SETTING_FAILED;
|
result = NETDEV_RESULT_KEY_SETTING_FAILED;
|
||||||
} else
|
} else
|
||||||
result = NETDEV_RESULT_OK;
|
result = NETDEV_RESULT_OK;
|
||||||
|
|
Loading…
Reference in New Issue