summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/hci_request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c
index edf2199de4ff..f1529d7740f6 100644
--- a/net/bluetooth/hci_request.c
+++ b/net/bluetooth/hci_request.c
@@ -1187,8 +1187,7 @@ static void adv_timeout_expire(struct work_struct *work)
if (list_empty(&hdev->adv_instances))
__hci_req_disable_advertising(&req);
- if (!skb_queue_empty(&req.cmd_q))
- hci_req_run(&req, NULL);
+ hci_req_run(&req, NULL);
unlock:
hci_dev_unlock(hdev);