Thread (3 messages) flat view 3 messages, 2 authors, 2011-03-28

Re: Bug in hciconfig.c

From: Johan Hedberg <hidden>
Date: 2011-03-28 12:44:48

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help