Skip to content
Commit bb23c0ab authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

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: default avatarMarcel Holtmann <marcel@holtmann.org>
parent c4f912e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment