]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8240702fc389f3904911f705cfcdf734516fe45e
tree86d237fa0f90c78713ad85d92ddddef4b69b507a
parentabcbf4d8fa3f54a6553ca55a6d63da1b7df20170
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