OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320b3bf
)
Bluetooth: mgmt: multi-adv for trigger_le_scan()
author
Florian Grandel
<fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:50 +0000
(
03:16
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:53 +0000
(18:11 +0200)
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>
net/bluetooth/mgmt.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index
57e27b7
..
f44c6e3
100644
(file)
--- 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);
}