Commit 07922bb1 authored by Samuel Ortiz's avatar Samuel Ortiz

NFC: Destroy LLCP timout workqueue when releasing the link

Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 5e50ee3a
...@@ -111,6 +111,7 @@ static void local_release(struct kref *ref) ...@@ -111,6 +111,7 @@ static void local_release(struct kref *ref)
skb_queue_purge(&local->tx_queue); skb_queue_purge(&local->tx_queue);
destroy_workqueue(local->tx_wq); destroy_workqueue(local->tx_wq);
destroy_workqueue(local->rx_wq); destroy_workqueue(local->rx_wq);
destroy_workqueue(local->timeout_wq);
kfree_skb(local->rx_pending); kfree_skb(local->rx_pending);
kfree(local); kfree(local);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment