diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-21 11:04:45 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-08 14:25:04 +0100 |
commit | b141e811a0763bb107af4cd99d456193ccdb8053 (patch) | |
tree | 47ee1d81202a4e125b86f38250f5d71c7c5faacd /net/nfc | |
parent | 930df2dfc7073c9ed2d0b47a08e47027ae83c545 (diff) | |
download | linux-stable-b141e811a0763bb107af4cd99d456193ccdb8053.tar.gz linux-stable-b141e811a0763bb107af4cd99d456193ccdb8053.tar.bz2 linux-stable-b141e811a0763bb107af4cd99d456193ccdb8053.zip |
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 <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r-- | net/nfc/llcp/sock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index 5332751943a9..5c7cdf3f2a83 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; } |