• J
    Bluetooth: Ignore IRKs with no Identity Address · a9a58f86
    Johan Hedberg 提交于
    The Core Specification (4.1) leaves room for sending an SMP Identity
    Address Information PDU with an all-zeros BD_ADDR value. This
    essentially means that we would not have an Identity Address for the
    device and the only means of identifying it would be the IRK value
    itself.
    
    Due to lack of any known implementations behaving like this it's best to
    keep our implementation as simple as possible as far as handling such
    situations is concerned. This patch updates the Identity Address
    Information handler function to simply ignore the IRK received from such
    a device.
    Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
    Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
    a9a58f86
smp.c 29.3 KB