Commit 341ee434 authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

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: default avatarDan Carpenter <>
Acked-by: default avatarSamuel Ortiz <>
Signed-off-by: default avatarJohn W. Linville <>
parent bad69194
......@@ -554,11 +554,9 @@ static void nfc_llcp_recv_connect(struct nfc_llcp_local *local,
goto enqueue;
goto fail;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment