]> 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)
commitf5a9cd27dbca1c098cb61421119a46deb9bf836a
tree07682fff004cd17a2b261f0c8babf8321dce21fd
parentf6b5641ac83714cae0056fbf32cc0a82bdbfcc24
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