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

netdev: Call eapol_cancel if operstate fails

This commit is contained in:
Denis Kenzior 2016-06-28 18:24:53 -05:00
parent 830af391e2
commit 45dabb9e44

View File

@ -409,6 +409,8 @@ static void netdev_operstate_cb(bool success, void *user_data)
MPDU_REASON_CODE_UNSPECIFIED);
l_genl_family_send(nl80211, msg, NULL, NULL, NULL);
eapol_cancel(netdev->index);
result = NETDEV_RESULT_KEY_SETTING_FAILED;
} else
result = NETDEV_RESULT_OK;