Bluetooth: Implement deferred sco socket setup
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 21 Nov 2012 09:51:12 +0000 (10:51 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 3 Dec 2012 17:59:58 +0000 (15:59 -0200)
commit20714bfef84d3e690c9c6f8e9cd46543b5ae1eed
treeaa1ac5c6a0b959382ed2c6a2be52b45414d4cf08
parentb96e9c671b05f95126753a22145d4509d45ca197
Bluetooth: Implement deferred sco socket setup

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 <frederic.dalleau@linux.intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/sco.c
This page took 0.02998 seconds and 5 git commands to generate.