NFC: Fix LLCP getname socket op
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 21 Jun 2012 15:41:42 +0000 (17:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:15 +0000 (16:42 -0400)
commit12e5bdfefa45ecacd22c519875d06113f95a26af
treee1579a0a0146bdef0e3a9acffa92c4000bfa8721
parent025f152046c8a4101a61943ab2065fdf1fa02c0e
NFC: Fix LLCP getname socket op

Set the right target index and use a better socket declaration routine.

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