From f763bc0cd82a49854dd13f702383c9bdebc8178b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 26 Apr 2012 09:40:31 +0300 Subject: [PATCH] hciops: Fix event mask for Inquiry Result with RSSI The right value is 0x02 and not 0x04 (which is "Read Remote Extended Features Complete"). --- plugins/hciops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hciops.c b/plugins/hciops.c index 678ca1b42..d74f2ea7f 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 */ -- 2.47.3