# HG changeset patch # User Joseph Jezak # Node ID cf026f185936d105a4bc7c8d3e1df4c833f48284 # Parent b2495350912ef633281995990ead315364cf2dff Little list cleanup suggested by johannes. diff -r b2495350912e -r cf026f185936 ieee80211softmac_auth.c --- a/ieee80211softmac_auth.c Wed Nov 30 14:15:36 2005 +++ b/ieee80211softmac_auth.c Wed Nov 30 14:45:31 2005 @@ -74,8 +74,7 @@ /* Remove this item from the queue */ spin_lock(&mac->lock); - /* shouldn't this be list_del(&auth->list) ?? */ - list_del(mac->auth_queue.next); + list_del(&auth->list); /* Free it */ kfree(auth); /* Restart the workqueue if there is a next item */ @@ -173,7 +172,7 @@ spin_lock(&mac->lock); cancel_delayed_work(&aq->work); /* Remove this item from the queue */ - list_del(mac->auth_queue.next); + list_del(&aq->list); /* Free it */ kfree(aq); /* Restart the workqueue if there is a next item */