summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-06-22 18:47:59 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-06-22 18:47:59 +0000
commita47211b0097fe3612b96246f08bf37dccd15fd61 (patch)
tree0bb3bed853211fc338750dc7b4cd2c8f226a7de8
parentc6f486bcd46834a523bc5ee3fdcfc32ff1143943 (diff)
Handle missing event mask bits
-rw-r--r--hcid/device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hcid/device.c b/hcid/device.c
index db31f87a..1df19667 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -268,9 +268,15 @@ int start_device(uint16_t dev_id)
if (features[5] & LMP_SNIFF_SUBR)
events[5] |= 0x20;
+ if (features[5] & LMP_PAUSE_ENC)
+ events[5] |= 0x80;
+
if (features[6] & LMP_EXT_INQ)
events[5] |= 0x40;
+ if (features[6] & LMP_NFLUSH_PKTS)
+ events[7] |= 0x01;
+
if (features[7] & LMP_LSTO)
events[6] |= 0x80;