]> 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)
commit14d8228a5590e200d5812e313cff5a637bbb0acc
tree14e8f93c2dc34092e179b024e5dc19d33a80adf8
parent6e68f7f27e80169a2f045aec91dddf21724bf679
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