Bluetooth: Ignore unknown advertising packet types
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 7 Apr 2016 18:01:27 +0000 (21:01 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Apr 2016 16:51:44 +0000 (18:51 +0200)
commit56b40fbf61a247e23b50e426971148b2e50262e0
treeed77f6fbcbedfaebf71912a7bdf85ade50548f5d
parentf18ba58f538e44a701ad0b86d47bb57b917d7c0a
Bluetooth: Ignore unknown advertising packet types

In case of buggy controllers send advertising packet types that we
don't know of we should simply ignore them instead of trying to react
to them in some (potentially wrong) way.

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