Hi Johan, > 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 que queue, including sending HCI no idea what a que queue is ;) > 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 <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 1 + > net/bluetooth/hci_core.c | 11 +++++++++++ > 2 files changed, 12 insertions(+) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html