Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-08-03 14:13:15 +0200
committerTakashi Iwai <tiwai@suse.de>2018-08-03 14:13:28 +0200
commit9e7f5b8aab6bdcfff860a4f11a297e04b76fc282 (patch)
treeaee3014b990509a7a5308499804f366cd437d9ef
parent0436db492a10b7e6924d62cac74958f6aa8d5530 (diff)
Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning
(bsc#1051510). suse-commit: 1558300f5574c81f521571bbf2f33a02aa9f3c60
-rw-r--r--drivers/bluetooth/hci_qca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 6f4ebd5e54c8..a6173ddfb5a7 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -881,7 +881,7 @@ static int qca_set_baudrate(struct hci_dev *hdev, uint8_t baudrate)
*/
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(msecs_to_jiffies(BAUDRATE_SETTLE_TIMEOUT_MS));
- set_current_state(TASK_INTERRUPTIBLE);
+ set_current_state(TASK_RUNNING);
return 0;
}