Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d5fc2f2 authored by Florian Grandel's avatar Florian Grandel Committed by Marcel Holtmann
Browse files

Bluetooth: mgmt: multi-adv for trigger_le_scan()



This patch ensures that instance advertising is correctly canceled
before starting a le scan.

Signed-off-by: default avatarFlorian Grandel <fgrandel@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 320b3bf7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4215,6 +4215,7 @@ static bool trigger_le_scan(struct hci_request *req, u16 interval, u8 *status)
			return false;
		}

		cancel_adv_timeout(hdev);
		disable_advertising(req);
	}