From: Frédéric Dalleau Date: Wed, 21 Nov 2012 09:51:12 +0000 (+0100) Subject: Bluetooth: Implement deferred sco socket setup X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~56^2^2~43^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20714bfef84d3e690c9c6f8e9cd46543b5ae1eed;p=pandora-kernel.git 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 Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed