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
1 changed files with 1 additions and 1 deletions

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;