diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-08-31 01:08:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-04 14:23:32 +0300 |
commit | a981ae674dc2de74139409323d4a40aac645d906 (patch) | |
tree | 3f874f17e70fbfcbfef650b0b1cc30eb04a78974 /tools | |
parent | 351e82525d37e2560dbec474b4a7ff5ab80e0e76 (diff) | |
download | linux-a981ae674dc2de74139409323d4a40aac645d906.tar.xz |
Bluetooth: SMP: Fix assumption of Central always being Initiator
[ Upstream commit 28cd47f75185c4818b0fb1b46f2f02faaba96376 ]
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: https://github.com/bluez/bluez/issues/567
Fixes: b28b4943660f ("Bluetooth: Add strict checks for allowed SMP PDUs")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions