Hi Frédéric,
* Frédéric Dalleau [off-list ref] [2012-11-21 10:51:12 +0100]:
In order to authenticate and configure an incoming SCO connection, the
BT_DEFER_SETUP option was added. This option is intended to defer reply
to Connect Request on SCO sockets.
When a connection is requested, the listening socket is unblocked but
the effective connection setup happens only on first recv. Any send
between accept and recv fails with -ENOTCONN.
Signed-off-by: Frédéric Dalleau <redacted>
---
include/net/bluetooth/hci_core.h | 9 ++++---
net/bluetooth/hci_event.c | 52 +++++++++++++++++++++++++++++++++++---
net/bluetooth/sco.c | 35 ++++++++++++++++++++++---
3 files changed, 86 insertions(+), 10 deletions(-)
The 2 patches have been applied to bluetooth-next. Thanks.
Gustavo