• Marcel Holtmann's avatar
    [Bluetooth] Disconnect when encryption gets disabled · 9719f8af
    Marcel Holtmann authored
    The Bluetooth specification allows to enable or disable the encryption
    of an ACL link at any time by either the peer or the remote device. If
    a L2CAP or RFCOMM connection requested an encrypted link, they will now
    disconnect that link if the encryption gets disabled. Higher protocols
    that don't care about encryption (like SDP) are not affected.
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    9719f8af
l2cap.c 53.6 KB