]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix properly ignoring unexpected SMP PDUs
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 08:19:37 +0000 (10:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 08:47:03 +0000 (00:47 -0800)
commitcd33e14898ac126f6e53f3f70f22307edc2b3e50
tree6bd8869c54b062c915472f6f7fde6b364cb10be4
parent0212269885b7c08185498cf5ce36fdc8ed7ebc5b
Bluetooth: Fix properly ignoring unexpected SMP PDUs

If we didn't request certain pieces of information during the key
distribution negotiation we should properly ignore those PDUs if the
peer incorrectly sends them. This includes the Encryption Information
and Master Identification PDUs if the EncKey bit was not set, and the
Identity Information and Identity Address Information PDUs if the IdKey
bit was not set.

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