commit | bb23c0ab824653be4aa7dfca15b07b3059717004 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Thu Jan 15 21:56:48 2009 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Feb 27 06:14:23 2009 +0100 |
tree | bd0390c67d129e8b5ddc2a70a1b12e383db6fa16 | |
parent | c4f912e155504e94dd4f3d63c378dab0ff03dbda [diff] |
Bluetooth: Add support for deferring RFCOMM connection setup In order to decide if listening RFCOMM sockets should be accept()ed the BD_ADDR of the remote device needs to be known. This patch adds a socket option which defines a timeout for deferring the actual connection setup. The connection setup is done after reading from the socket for the first time. Until then writing to the socket returns ENOTCONN. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>