mbox series

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

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

Message

Matias Karhumaa Feb. 8, 2021, 10:05 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

v2: More detailed commit message, improved readability of if-clause.

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

 net/bluetooth/smp.c | 42 +++++++++++++-----------------------------
 1 file changed, 13 insertions(+), 29 deletions(-)