Thread (4 messages) 4 messages, 2 authors, 2012-11-23

Re: [PATCH v2 2/2] Bluetooth: Implement deferred sco socket setup

From: Gustavo Padovan <hidden>
Date: 2012-11-23 18:55:02

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help