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: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
320b3bf702
commit
9d5fc2f23a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue