]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Enforce packet types in hci_recv_frame driver function
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Oct 2015 01:14:28 +0000 (03:14 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Oct 2015 07:05:41 +0000 (10:05 +0300)
commita8ff2f6a40d0593f1bb4fd5934ff8b190e08257e
treedf547e40bdb9bc5ddb959eb66d9b405159730d41
parentac4d123d99be04752150266d16be86655fe20b60
Bluetooth: Enforce packet types in hci_recv_frame driver function

When calling the hci_recv_frame driver function check for valid packet
types that the core should process. This should catch issues with
drivers trying to feed vendor packet types through this interface.

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