Skip to content

Bluetooth: SMP fixes

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Bluetooth: Always confirm incoming SMP just-works requestsnet/bluetooth/smp.c+11 -50 replies
2/3Bluetooth: Fix forcing SMP just-works with no-bondingnet/bluetooth/smp.c+0 -40 replies
3/3Bluetooth: Fix incorrect clearing of SMP_FLAG_INITIATORnet/bluetooth/smp.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Bluetooth: SMP fixes

Hi,

Here's a set of patches I ended up creating when testing HoG reconnections. Now that we react to any direct advertising report when connectable it's particularly important that we have the user interaction semantics for incoming connections right.

Strictly speaking the Core spec simply tells us to use "just-works" when no side has MITM required, so these changes should be checked against current PTS and Android CTS tests. That said, imo this is still doing a just-works pairing but simply with an extra user consent for proceeding with the pairing for incoming requests.

Johan

----------------------------------------------------------------
Johan Hedberg (3):
Bluetooth: Always confirm incoming SMP just-works requests
Bluetooth: Fix forcing SMP just-works with no-bonding
Bluetooth: Fix incorrect clearing of SMP_FLAG_INITIATOR

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