From a47211b0097fe3612b96246f08bf37dccd15fd61 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 22 Jun 2007 18:47:59 +0000 Subject: Handle missing event mask bits --- hcid/device.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- cgit