summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-06-26 12:57:04 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-06-26 12:57:04 +0000
commit19fb70a42ac27051f8fe1adc2502943dd56c5f0d (patch)
tree9e0f6dbdde74c4dc2ff18a3c36683d4aa3557380 /hcid/device.c
parent5b81f02a53203f7a5d17408d9fd596deab7740de (diff)
Add another Inquiry with RSSI quirk
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c12
1 files 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;
}