Bluetooth: SMP packets are only valid on LE connections
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 07:00:57 +0000 (00:00 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Oct 2013 07:09:12 +0000 (10:09 +0300)
commit7b9899dbcf432b188f3cc22bd1ad9e8050c496fc
tree4c5e2df70e2cf98cdda9f18ae9710a43c35bc5c7
parent94b6a09b67ac4f0772d298aec0973fe3261150a0
Bluetooth: SMP packets are only valid on LE connections

When receiving SMP packets on a BR/EDR connection, then just drop
the packet and do not try to process it.

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