• M
    Bluetooth: Add global deferred socket parameter · c4f912e1
    Marcel Holtmann 提交于
    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: NMarcel Holtmann <marcel@holtmann.org>
    c4f912e1
bluetooth.h 4.9 KB