diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-21 10:04:45 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-08 13:25:04 (GMT) |
commit | b141e811a0763bb107af4cd99d456193ccdb8053 (patch) | |
tree | 47ee1d81202a4e125b86f38250f5d71c7c5faacd /net/nfc/llcp | |
parent | 930df2dfc7073c9ed2d0b47a08e47027ae83c545 (diff) | |
download | linux-b141e811a0763bb107af4cd99d456193ccdb8053.tar.xz |
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/llcp')
-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 5332751..5c7cdf3f 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; } |