projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Set filter policy for LE connection
[platform/kernel/linux-rpi.git]
/
net
/
bluetooth
/
hci_request.c
diff --git
a/net/bluetooth/hci_request.c
b/net/bluetooth/hci_request.c
index
f119747
..
8b8f22f
100644
(file)
--- a/
net/bluetooth/hci_request.c
+++ b/
net/bluetooth/hci_request.c
@@
-2900,7
+2900,11
@@
void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,
break;
case BT_CONNECT:
+#ifdef TIZEN_BT
+ if (conn->type == LE_LINK && bacmp(&conn->dst, BDADDR_ANY)) {
+#else
if (conn->type == LE_LINK) {
+#endif
if (test_bit(HCI_CONN_SCANNING, &conn->flags))
break;
hci_req_add(req, HCI_OP_LE_CREATE_CONN_CANCEL,