We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e04e08c commit 70a6e89Copy full SHA for 70a6e89
net/bluetooth/hci_sync.c
@@ -3354,7 +3354,7 @@ static int hci_powered_update_adv_sync(struct hci_dev *hdev)
3354
* advertising data. This also applies to the case
3355
* where BR/EDR was toggled during the AUTO_OFF phase.
3356
*/
3357
- if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
+ if (hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
3358
list_empty(&hdev->adv_instances)) {
3359
if (ext_adv_capable(hdev)) {
3360
err = hci_setup_ext_adv_instance_sync(hdev, 0x00);
0 commit comments