projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Add macros for filter duplicates values
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
bluetooth
/
hci_core.c
diff --git
a/net/bluetooth/hci_core.c
b/net/bluetooth/hci_core.c
index 00dcb74954d3a7bee23a6428a9e92dc9e236db49..d0ae237ff8194a0b47df6b5a2d017b28200dfad2 100644
(file)
--- a/
net/bluetooth/hci_core.c
+++ b/
net/bluetooth/hci_core.c
@@
-1990,7
+1990,7
@@
static void le_scan_enable_req(struct hci_request *req, unsigned long opt)
memset(&cp, 0, sizeof(cp));
cp.enable = 1;
- cp.filter_dup =
1
;
+ cp.filter_dup =
LE_SCAN_FILTER_DUP_ENABLE
;
hci_req_add(req, HCI_OP_LE_SET_SCAN_ENABLE, sizeof(cp), &cp);
}