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 47f69d1 commit 3322443Copy full SHA for 3322443
net/bluetooth/hci_sync.c
@@ -3344,7 +3344,7 @@ static int hci_powered_update_adv_sync(struct hci_dev *hdev)
3344
* advertising data. This also applies to the case
3345
* where BR/EDR was toggled during the AUTO_OFF phase.
3346
*/
3347
- if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
+ if (hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
3348
list_empty(&hdev->adv_instances)) {
3349
if (ext_adv_capable(hdev)) {
3350
err = hci_setup_ext_adv_instance_sync(hdev, 0x00);
0 commit comments