From 19fb70a42ac27051f8fe1adc2502943dd56c5f0d Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 26 Jun 2006 12:57:04 +0000 Subject: Add another Inquiry with RSSI quirk --- hcid/device.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hcid/device.c b/hcid/device.c index 01262f0c..65c45bab 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -142,16 +142,20 @@ int remove_device(uint16_t dev_id) static inline uint8_t get_inquiry_mode(struct hci_dev *dev) { - if (dev->manufacturer == 15 && - dev->hci_rev == 0x09 && dev->lmp_subver == 0x6963) - return 1; - if (dev->features[6] & LMP_EXT_INQ) return 2; if (dev->features[3] & LMP_RSSI_INQ) return 1; + if (dev->manufacturer == 15 && + dev->hci_rev == 0x09 && dev->lmp_subver == 0x6963) + return 1; + + if (dev->manufacturer == 31 && + dev->hci_rev == 0x2005 && dev->lmp_subver == 0x1805) + return 1; + return 0; } -- cgit