diff options
| author | Florian Grandel <[email protected]> | 2015-06-18 03:16:50 +0200 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2015-06-18 18:11:53 +0200 |
| commit | 9d5fc2f23afc842cbb3ee85600cd92bf5120a71d (patch) | |
| tree | a668be4006550f99522eac9f32f0ae1d112882aa | |
| parent | 320b3bf7027b89821030e5e7c5fbd1f6aecb4af0 (diff) | |
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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
| -rw-r--r-- | net/bluetooth/mgmt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 57e27b7ae3db..f44c6e3be938 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -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); } |