NFC: Purge LLCP socket Tx queues when being disconnected
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 26 Oct 2012 16:20:10 +0000 (18:20 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 26 Oct 2012 16:26:53 +0000 (18:26 +0200)
commitf31652a58bee6ef145c066c8d0ae6d0b11dca1e8
tree12e8c4e7d5708cd29020bd54b6ec1d6e8b5cf8c2
parentf152218840f2dc60900e2568878d3b87460d5ae8
NFC: Purge LLCP socket Tx queues when being disconnected

The Tx queues are no longer valid when we receive a disconnection or when
the LLCP link goes down. In the later case we also purge the entire local
Tx queue.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/llcp.c