• Marcel Holtmann's avatar
    [Bluetooth] Set disconnect timer for incoming ACL links · 71f644c0
    Marcel Holtmann authored
    In general a Bluetooth stack that creates an ACL link should also take
    care of its termination, but some Bluetooth devices think otherwise. The
    problem is that the Bluetooth specification don't defines an ownership
    of an ACL link and if nobody cares about it, two devices stay connected
    even if there is no need. To avoid leftover ACL links the disconnect
    timer must also be used for incoming connections, but it is set twice
    the default disconnect timeout so the other side get enough time to
    clean everything by itself.
    71f644c0
hci_core.h 12.9 KB