• Marcel Holtmann's avatar
    [Bluetooth] Support create connection cancel command · 6ac59344
    Marcel Holtmann authored
    In case of non-blocking connects it is possible that the last user
    of an ACL link quits before the connection has been fully established.
    This will lead to a race condition where the internal state of a
    connection is closed, but the actual link has been established and is
    active. In case of Bluetooth 1.2 and later devices it is possible to
    call create connection cancel to abort the connect. For older devices
    the disconnect timer will be used to trigger the needed disconnect.
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    6ac59344
hci_event.c 30.3 KB