]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Always confirm incoming SMP just-works requests
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 16:18:09 +0000 (19:18 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 16:23:05 +0000 (18:23 +0200)
commit0f2d7aea21ba2a19fcfc356bb26b02b5bedd42d1
tree07682fff004cd17a2b261f0c8babf8321dce21fd
parentad7f4231c4e4bbe20aff017421e6fbed642af70c
Bluetooth: Always confirm incoming SMP just-works requests

For incoming requests we want to let the user know that pairing is
happening since otherwise there could be access to MEDIUM security
services without any user interaction at all. Therefore, set the
selected method to JUST_CFM instead of JUST_WORKS and let it be
converted back to JUST_WORKS later if we are the initators.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c