caif: Bugfix - Poll can't return POLLHUP while connecting.
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Fri, 21 May 2010 02:16:10 +0000 (02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:57:42 +0000 (23:57 -0700)
commitca6a09f25cde1d2d86f8e821cf69f4f650c30dbf
tree133c7b35294fd501fbf1732b2256a91ead7fbe16
parent638e628a600a5c542d46dfb06771cf9c229ef5f3
caif: Bugfix - Poll can't return POLLHUP while connecting.

Discovered bug when testing async connect.
While connecting poll should not return POLLHUP,
but POLLOUT when connected.
Also fixed the sysfs flow-control-counters.

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_socket.c