Bluetooth: btsdio: Check for valid packet type
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 15 Jan 2020 21:02:21 +0000 (13:02 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Jan 2020 21:28:51 +0000 (22:28 +0100)
commit7e8aeffb112aa1d1600ce0ee44e444b63e3d41f9
treeebb943f999d25734a7dd1777b2fbe5f930d8f767
parent1cc3c10c5aea84d4b0400423449c316eed3f27df
Bluetooth: btsdio: Check for valid packet type

Check for valid packet type before calling hci_recv_frame which is
inline with what other drivers are doing.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btsdio.c