NFC: llcp: Fix non blocking sockets connections
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 3 May 2013 16:29:30 +0000 (18:29 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:45:07 +0000 (13:45 +0200)
Without the new LLCP_CONNECTING state, non blocking sockets will be
woken up with a POLLHUP right after calling connect() because their
state is stuck at LLCP_CLOSED.
That prevents userspace from implementing any proper non blocking
socket based NFC p2p client.

Cc: stable@vger.kernel.org
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found