diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-04-26 09:40:31 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-04-26 09:40:36 +0300 |
commit | f763bc0cd82a49854dd13f702383c9bdebc8178b (patch) | |
tree | 77d62d3d0686514817cbf8f17827b51ec1a85e81 /plugins | |
parent | 1e84241cc805d83a0ad43a07fd7659114bb25b89 (diff) | |
download | bluez-f763bc0cd82a49854dd13f702383c9bdebc8178b.tar.gz bluez-f763bc0cd82a49854dd13f702383c9bdebc8178b.tar.xz bluez-f763bc0cd82a49854dd13f702383c9bdebc8178b.zip |
hciops: Fix event mask for Inquiry Result with RSSI
The right value is 0x02 and not 0x04 (which is "Read Remote Extended
Features Complete").
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hciops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hciops.c b/plugins/hciops.c index 678ca1b4..d74f2ea7 100644 --- 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] |= 0x04; /* Inquiry Result with RSSI */ + events[4] |= 0x02; /* Inquiry Result with RSSI */ if (dev->features[5] & LMP_SNIFF_SUBR) events[5] |= 0x20; /* Sniff Subrating */ |