From: Samuel Ortiz Date: Fri, 3 May 2013 16:29:30 +0000 (+0200) Subject: NFC: llcp: Fix non blocking sockets connections X-Git-Tag: v3.11-rc1~64^2~166^2^2~37^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4011239a08e7e6c2c6e970dfa9e8ecb73139261;p=pandora-kernel.git NFC: llcp: Fix non blocking sockets connections 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 --- Reading git-diff-tree failed