Skip to content

Commit

Permalink
Bluetooth: SMP: Fix assumption of Central always being Initiator
Browse files Browse the repository at this point in the history
SMP initiator role shall be considered the one that initiates the
pairing procedure with SMP_CMD_PAIRING_REQ:

BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 3, Part H
page 1557:

Figure 2.1: LE pairing phases

Note that by sending SMP_CMD_SECURITY_REQ it doesn't change the role to
be Initiator.

Link: bluez/bluez#567
Fixes: b28b494 ("Bluetooth: Add strict checks for allowed SMP PDUs")
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
  • Loading branch information
Vudentz committed Aug 13, 2024
1 parent a8d17a9 commit a7e36fd
Showing 1 changed file with 72 additions and 72 deletions.
Loading

0 comments on commit a7e36fd

Please sign in to comment.