• Marcel Holtmann's avatar
    Bluetooth: Disconnect L2CAP connections without encryption · f62e4323
    Marcel Holtmann authored
    For L2CAP connections with high security setting, the link will be
    immediately dropped when the encryption gets disabled. For L2CAP
    connections with medium security there will be grace period where
    the remote device has the chance to re-enable encryption. If it
    doesn't happen then the link will also be disconnected.
    
    The requirement for the grace period with medium security comes from
    Bluetooth 2.0 and earlier devices that require role switching.
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    f62e4323
l2cap.c 58.7 KB