mbox series

[0/1] Bluetooth: Fix Just-Works re-pairing

Message ID 20210206141423.13593-1-matias.karhumaa@gmail.com
Headers show
Series Bluetooth: Fix Just-Works re-pairing | expand

Message

Matias Karhumaa Feb. 6, 2021, 2:14 p.m. UTC
Hi maintainers,

While updating our CI machines to 5.8 series kernel, we noticed some
regression in how Bluetooth LE Just-Works pairing works. In case Linux
acts as responder and another device tries to re-pair using Just-Works,
pairing fails due to DHKey check failure. This appears to be regression
from eed467b517e8 ("Bluetooth: fix passkey uninitialized when used").

Best regards,
Matias Karhumaa

Matias Karhumaa (1):
  Bluetooth: Fix Just-Works re-pairing

 net/bluetooth/smp.c | 37 +++++++++----------------------------
 1 file changed, 9 insertions(+), 28 deletions(-)