Browse Source

NFC: Destroy LLCP timout workqueue when releasing the link

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Samuel Ortiz 13 years ago
parent
commit
07922bb1e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      net/nfc/llcp/llcp.c

+ 1 - 0
net/nfc/llcp/llcp.c

@@ -111,6 +111,7 @@ static void local_release(struct kref *ref)
 	skb_queue_purge(&local->tx_queue);
 	destroy_workqueue(local->tx_wq);
 	destroy_workqueue(local->rx_wq);
+	destroy_workqueue(local->timeout_wq);
 	kfree_skb(local->rx_pending);
 	kfree(local);
 }