NFC: Take a reference on the LLCP local pointer when creating a socket
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 4 May 2012 09:24:16 +0000 (11:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 4 Jun 2012 19:34:28 +0000 (21:34 +0200)
commitc7aa12252f5142b9eee2f6e34ca8870a8e7e048c
treee91c72609e7d13b3a185cf75acd74a8385c736c5
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
NFC: Take a reference on the LLCP local pointer when creating a socket

LLCP sockets point to their local LLCP service, so they need to take a
reference on it.

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