NFC: double unlock in nfc_llcp_recv_connect()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 16 Dec 2011 20:25:29 +0000 (23:25 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Dec 2011 19:40:22 +0000 (14:40 -0500)
commit341ee4349f31e42fb0eb20d340d15309ac760308
treee6fe061306ac9aa3628bd6ed23ca1d20e92ae164
parentbad6919469662b7c92bc6353642aaaa777b36bac
NFC: double unlock in nfc_llcp_recv_connect()

We unlock inside the if block on the other side of this if else
statement.  It could result in calling mutex_unlock() twice.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/llcp/llcp.c