Bluetooth: Add global deferred socket parameter
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 15 Jan 2009 20:52:16 +0000 (21:52 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:23 +0000 (06:14 +0100)
The L2CAP and RFCOMM applications require support for authorization
and the ability of rejecting incoming connection requests. The socket
interface is not really able to support this.

This patch does the ground work for a socket option to defer connection
setup. Setting this option allows calling of accept() and then the
first read() will trigger the final connection setup. Calling close()
would reject the connection.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found