From: Samuel Ortiz Date: Thu, 21 Feb 2013 10:04:45 +0000 (+0100) Subject: NFC: llcp: Decrease socket ack log when accepting a connection X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=b141e811a0763bb107af4cd99d456193ccdb8053;p=linux-edison.git NFC: llcp: Decrease socket ack log when accepting a connection This is really difficult to test with real NFC devices, but without this fix an LLCP server will eventually refuse new connections. Signed-off-by: Samuel Ortiz --- diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index 5332751943a..5c7cdf3f2a8 100644 --- a/net/nfc/llcp/sock.c +++ b/net/nfc/llcp/sock.c @@ -278,6 +278,8 @@ struct sock *nfc_llcp_accept_dequeue(struct sock *parent, pr_debug("Returning sk state %d\n", sk->sk_state); + sk_acceptq_removed(parent); + return sk; }