Bluetooth: Only schedule raw queue when user channel is active
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 4 Sep 2013 01:08:38 +0000 (18:08 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 16 Sep 2013 17:35:56 +0000 (14:35 -0300)
commit52de599e04e8767b0d9b7874451cb5db91a4a70b
tree86d237fa0f90c78713ad85d92ddddef4b69b507a
parenta675d7f1a0a0c0d7bde56ae89609dee56f2033e1
Bluetooth: Only schedule raw queue when user channel is active

When the user channel is set and an user application has full control
over the device, do not bother trying to schedule any queues except
the raw queue.

This is an optimization since with user channel, only the raw queue
is in use.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c