OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e84241
)
hciops: Fix event mask for Inquiry Result with RSSI
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 26 Apr 2012 06:40:31 +0000
(09:40 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 26 Apr 2012 06:40:36 +0000
(09:40 +0300)
The right value is 0x02 and not 0x04 (which is "Read Remote Extended
Features Complete").
plugins/hciops.c
patch
|
blob
|
history
diff --git
a/plugins/hciops.c
b/plugins/hciops.c
index
678ca1b
..
d74f2ea
100644
(file)
--- a/
plugins/hciops.c
+++ b/
plugins/hciops.c
@@
-565,7
+565,7
@@
static void set_event_mask(int index)
}
if (dev->features[3] & LMP_RSSI_INQ)
- events[4] |= 0x0
4
; /* Inquiry Result with RSSI */
+ events[4] |= 0x0
2
; /* Inquiry Result with RSSI */
if (dev->features[5] & LMP_SNIFF_SUBR)
events[5] |= 0x20; /* Sniff Subrating */