summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-05-31 17:29:15 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-04 21:34:33 +0200
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)
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);
}