3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

wired: Fix issue with destroying EAPoL seesions list on IFF_LOWER_UP

This commit is contained in:
Marcel Holtmann 2018-09-14 22:35:36 +02:00
parent f8b2610046
commit 78dd20131a

View File

@ -451,7 +451,7 @@ static void newlink_notify(const struct ifinfomsg *ifi, int bytes)
pae_write(dev, pae_group_addr,
eapol_start, sizeof(eapol_start));
else if (!lower_up && dev->lower_up)
l_queue_destroy(dev->eapol_sessions, eapol_free);
l_queue_clear(dev->eapol_sessions, eapol_free);
dev->active = active;
dev->lower_up = lower_up;