]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix allowing SMP Signing info PDU
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 9 Sep 2014 23:21:46 +0000 (16:21 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Sep 2014 23:45:01 +0000 (01:45 +0200)
commitb1898eac7ef271a9447feb7b3d33a0cf194f5726
tree7ec033ad5384eaf4ff785a1ada36d9b957d849c5
parentcce8615cf707548fe601848e6b19cde22078a9b6
Bluetooth: Fix allowing SMP Signing info PDU

If the remote side is not distributing its IRK but is distributing the
CSRK the next PDU after master identification is the Signing
Information. This patch fixes a missing SMP_ALLOW_CMD() for this in the
smp_cmd_master_ident() function.

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