NFC: Check for llcp_sock and its device from llcp_sock_getname
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 5 Jul 2012 15:43:08 +0000 (17:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:25 +0000 (16:42 -0400)
commitfe3c094abc2365a226184554501fe0df87fe8271
tree3ea791d11ba5b992f53ea492967becfab7024686
parent01d719a2287ec34f631800d10f1fad3c134c3e89
NFC: Check for llcp_sock and its device from llcp_sock_getname

They both can potentially be NULL.

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