Skip to content

Commit

Permalink
NFC: llcp: Decrease socket ack log when accepting a connection
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Samuel Ortiz committed Mar 8, 2013
1 parent 930df2d commit b141e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/nfc/llcp/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b141e81

Please sign in to comment.