[Bluetooth] Return EINPROGRESS for non-blocking socket calls
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 23 Sep 2006 07:54:38 +0000 (09:54 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:31 +0000 (18:01 -0700)
commitb4c612a473eb816dff6e5ab6820dff338057aa8d
tree26d2a88e2355ec9852abf4f70b7990087da3a58c
parent7785162cf2baf7c6c1e4ad8ae5888f85fcc5febc
[Bluetooth] Return EINPROGRESS for non-blocking socket calls

In case of non-blocking socket calls we should return EINPROGRESS
and not EAGAIN.

Signed-off-by: Ulisses Furquim <ulissesf@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/af_bluetooth.c
net/bluetooth/rfcomm/core.c