NFC: Forbid LLCP service name reusing
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 22 Jun 2012 13:32:20 +0000 (15:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:18 +0000 (16:42 -0400)
commit8b7e8eda58cc09974708dcc6db4c202c419d6cd9
treee81fee2a721f9aa3009b21a0cddfc30cb7267472
parentcbbf472181bd5d6229decda96b34b0c2bbcb3050
NFC: Forbid LLCP service name reusing

This patch fixes a typo and return the correct error when trying to
bind 2 sockets to the same service name.

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