From: Johan Hedberg Date: Mon, 14 Jan 2013 20:33:50 +0000 (+0200) Subject: Bluetooth: Add a new workqueue for hci_request operations X-Git-Tag: v3.9-rc1~139^2~2^2^2~42^2~49^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ead1bbc381a674c20f227dbe6f3a8c6f67ce7a2;p=pandora-kernel.git Bluetooth: Add a new workqueue for hci_request operations The hci_request function is blocking and cannot be called through the usual per-HCI device workqueue (hdev->workqueue). While hci_request is in progress any other work from the queue, including sending HCI commands to the controller would be blocked and eventually cause the hci_request call to time out. This patch adds a second workqueue to be used by operations needing hci_request and thereby avoiding issues with blocking other workqueue users. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed