Re: Bug in hciconfig.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arno,

On Mon, Mar 28, 2011, Arno Willig wrote:
> I do not follow this list, so please excuse me, if this request isn't
> appropriate here.
> 
> I think I found an error in the Bluez Package of my Ubuntu 11.04
> distro. (bluez-4.90)
> In bluez-4.90/tools/hciconfig.c (Function cmd_version(), line 1141):
> 
>        hciver = hci_vertostr(ver.hci_ver);
>  -     lmpver = lmp_vertostr(ver.hci_ver);
> 
> 
> I think it should be this, right?
> 
>        hciver = hci_vertostr(ver.hci_ver);
>  +    lmpver = lmp_vertostr(ver.lmp_ver);
> 
> 
> Maybe nobody saw this before, because the values are nevertheless
> equal (2.1 for example) ?
> 
> 
> Please tell me if this is really a bug or if I oversaw something, will you?

It's a real bug which can be seen from commit 9848c1fa that introduced
it (6 years ago). Before that commit the code was correctly using lmp_ver.

I've pushed a patch to fix it upstream.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux