• Marcel Holtmann's avatar
    Bluetooth: Fix white list handling with resolvable private addresses · 66d8e837
    Marcel Holtmann authored
    Devices using resolvable private addresses are required to provide
    an identity resolving key. These devices can not be found using
    the current controller white list support. This means if the kernel
    knows about any devices with an identity resolving key, the white
    list filtering must be disabled.
    
    However so far the kernel kept identity resolving keys around even
    for devices that are not using resolvable private addresses. The
    notification to userspace clearly hints to not store the key and
    so it is best to just remove the key from the kernel as well at
    that point.
    
    With this it easy now to detect when using the white list is
    possible or when kernel side resolving of addresses is required.
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
    66d8e837
smp.c 34.9 KB