aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-05-31 11:29:15 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-04 15:34:33 -0400
commit07922bb1e0eb3fb4e559eea2430a35dbf33659e0 (patch)
treee864dc499d5fd4d868503f277462313103e96093 /net/nfc
parent5e50ee3ae6e465be89dd0a66f78c3211a412d595 (diff)
NFC: Destroy LLCP timout workqueue when releasing the link
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/llcp/llcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c
index 3fe68e1d2e88..5d503eeb15a1 100644
--- a/net/nfc/llcp/llcp.c
+++ b/net/nfc/llcp/llcp.c
@@ -111,6 +111,7 @@ static void local_release(struct kref *ref)
111 skb_queue_purge(&local->tx_queue); 111 skb_queue_purge(&local->tx_queue);
112 destroy_workqueue(local->tx_wq); 112 destroy_workqueue(local->tx_wq);
113 destroy_workqueue(local->rx_wq); 113 destroy_workqueue(local->rx_wq);
114 destroy_workqueue(local->timeout_wq);
114 kfree_skb(local->rx_pending); 115 kfree_skb(local->rx_pending);
115 kfree(local); 116 kfree(local);
116} 117}