commit | 0b0cfd5ec7c9e607dde6f9c93e76c48a66c61aa9 | [log] [tgz] |
---|---|---|
author | Lyle Zhu <lyle.zhu@nxp.com> | Thu Apr 24 21:22:27 2025 +0800 |
committer | Benjamin Cabé <kartben@gmail.com> | Wed May 14 19:36:17 2025 +0200 |
tree | 61544f1214c80f3b3d5854678b7498b6018c71bb | |
parent | 31646fd06e59b2c80c22d34b910767fa22ac7256 [diff] |
Bluetooth: Classic: SSP: Correct pairing method In current implementation, if the MITM flag of both sides is disabled, the pairing method is incorrect. Such as, the IOCAP of both sides is `display_yesorno`, the pairing method is `PASSKEY_CONFIRM`. But actually, it should be `JUST_WORKS` in this case. Fix the issue by setting the pairing method to `JUST_WORKS` if the MITM flag of both sides is false. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>