From: Marcel Holtmann Date: Thu, 15 Jan 2009 20:56:48 +0000 (+0100) Subject: Bluetooth: Add support for deferring RFCOMM connection setup X-Git-Tag: v2.6.30-rc1~662^2~538^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb23c0ab824653be4aa7dfca15b07b3059717004;p=pandora-kernel.git 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 --- Reading git-diff-tree failed