]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Check for supported white list before issuing commands
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Nov 2015 08:39:48 +0000 (09:39 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Nov 2015 03:03:21 +0000 (04:03 +0100)
commit6cfe8c005e7156224386da1199c37c28b4f0d5e4
tree14e8f93c2dc34092e179b024e5dc19d33a80adf8
parentaa741e31899df378c4d799f4b6169d483c1ad983
Bluetooth: Check for supported white list before issuing commands

The white list commands might not be implemented if the controller does
not actually support the white list. So check the supported commands
first before issuing these commands. Not supporting the white list is
the same as supporting a white list with zero size.

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