diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-02-13 19:49:49 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-02-13 19:49:49 +0000 |
commit | 98329bfce1a1ce33cf2f46007196ecc63441465a (patch) | |
tree | c808d849ce4d9b40a622a9ab3c05afd13c948823 /hcid | |
parent | 928217b1aca4c7a16e77cf68d7c9e63fa0e6bdb2 (diff) |
Return correct version string for Bluetooth 2.1
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/device.c b/hcid/device.c index f2a75479..b76abb9f 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -299,7 +299,7 @@ int get_device_version(uint16_t dev_id, char *version, size_t size) dev = &devices[dev_id]; - if (dev->lmp_ver == 0x03 && + if ((dev->lmp_ver == 0x03 || dev->lmp_ver == 0x04) && (dev->features[3] & (LMP_EDR_ACL_2M | LMP_EDR_ACL_3M))) sprintf(edr, " + EDR"); else |