Bluetooth: Restrict valid packet types via HCI_CHANNEL_RAW
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 9 Oct 2015 14:13:50 +0000 (16:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 Oct 2015 22:49:21 +0000 (00:49 +0200)
commitbb77543ebd2e38c08412fec7eb1e35b902c5ff77
treea46858968a104b007ae9bc8ddbd280ad0088100a
parent8cd4f581427213e086fca601bb9d8c7ea9cfeabc
Bluetooth: Restrict valid packet types via HCI_CHANNEL_RAW

When using the HCI_CHANNEL_RAW, restrict the packet types to valid ones
from the Bluetooth specification.

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