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 | |
parent | 930df2dfc7073c9ed2d0b47a08e47027ae83c545 (diff) | |
download | linux-3.10-b141e811a0763bb107af4cd99d456193ccdb8053.tar.gz linux-3.10-b141e811a0763bb107af4cd99d456193ccdb8053.tar.bz2 linux-3.10-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')
-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 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; } |