Revert "Bluetooth: Always request for user confirmation for Just Works (LE SC)"
authorPhil Elwell <phil@raspberrypi.com>
Mon, 1 Mar 2021 09:12:44 +0000 (09:12 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:31:30 +0000 (11:31 +0000)
commitcb0891eee395cf09a822b521cebfa973bbf8c1d5
tree1aaa1b95d63468fed200d2643043d595f64e1ac1
parent4a40ea19279dbbaa2d788aac825da70e7db8731d
Revert "Bluetooth: Always request for user confirmation for Just Works (LE SC)"

This reverts commit ffee202a78c2980688bc5d2f7d56480e69a5e0c9.

The commit "Bluetooth: Always request for user confirmation for Just
Works" prevents BLE devices pairing in (at least) the Raspberry Pi OS
GUI. After reverting it, pairing works again. Although this companion
commit ("... (LE SC)") has not been demonstrated to be problematic,
it follows the same logic and therefore could affect some use cases.

If another solution to the problem is found then this reversion will
be removed.

See: https://github.com/raspberrypi/linux/issues/4139

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
net/bluetooth/smp.c