Bluetooth: SMP: Fix LE SC pairing method lookup

If both sides have KeyboardDisplay capabilities Passkey Confirmation
should be used.

Change-Id: I69d0909831cab0340ecbb418f035414b18e8c0c0
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-11-18 15:32:26 +01:00 committed by Anas Nashif
commit 747a672d56

View file

@ -158,7 +158,7 @@ static const uint8_t gen_method_sc[5 /* remote */][5 /* local */] = {
PASSKEY_DISPLAY },
{ JUST_WORKS, JUST_WORKS, JUST_WORKS, JUST_WORKS, JUST_WORKS },
{ PASSKEY_DISPLAY, PASSKEY_CONFIRM, PASSKEY_INPUT, JUST_WORKS,
PASSKEY_INPUT },
PASSKEY_CONFIRM },
};
/* Pool for outgoing LE signaling packets, MTU is 65 */