Hi Johan, > The commit cad20c278085d893ebd616cd20c0747a8e9d53c7 was supposed to > fix handling of devices first using public addresses and then > switching to RPAs after pairing. Unfortunately it missed a couple of > key places in the code. > > 1. When evaluating which devices should be removed from the existing > white list we also need to consider whether we have an IRK for them or > not, i.e. a call to hci_find_irk_by_addr() is needed. > > 2. In smp_notify_keys() we should not be requiring the knowledge of > the RPA, but should simply keep the IRK around if the other conditions > require it. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx # 4.4+ > --- > net/bluetooth/hci_request.c | 28 ++++++++++++++++++---------- > net/bluetooth/smp.c | 16 ---------------- > 2 files changed, 18 insertions(+), 26 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html