NFC: Return NULL when no LLCP socket for a dsap,ssap couple is found
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 16 Oct 2012 19:15:59 +0000 (21:15 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 26 Oct 2012 16:26:51 +0000 (18:26 +0200)
commita8df0f379213f190eff5f1cfe6b9f81475068d20
treebcdc30efbb33e072e598987d63e09a7cd460a8c3
parentb874dec21d1cb7a08fcbe4e442a789419dd1d51f
NFC: Return NULL when no LLCP socket for a dsap,ssap couple is found

The previous code was always returning the last socket from the
LLCP socket list.

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