NFC: Close listening LLCP sockets when the device is gone
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 22 Jun 2012 12:40:34 +0000 (14:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:16 +0000 (16:42 -0400)
commit4d22ea1532ba5730b665343e513d813c108c84ff
treecf8d40fadc183ace285d372965c6416c2329f52e
parentb8e7a06d9cd4c0e778b1d12cef1ef414e0fb6d7e
NFC: Close listening LLCP sockets when the device is gone

When the MAC link goes down, we should only keep the bound sockets
alive. They will be closed by sock_release or when the underlying
NFC device is moving away.

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