From: Johan Hedberg <johan.hedberg@gmail.com>
To: Arno Willig <akw@thinkwiki.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Bug in hciconfig.c
Date: Mon, 28 Mar 2011 15:44:48 +0300 [thread overview]
Message-ID: <20110328124448.GA15266@jh-x301> (raw)
In-Reply-To: <AANLkTin4-oCPX3qoWFS1rnLScPmS1xs5LGW6+rAKyEaX@mail.gmail.com>
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
next prev parent reply other threads:[~2011-03-28 12:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 12:31 Bug in hciconfig.c Arno Willig
2011-03-28 12:44 ` Johan Hedberg [this message]
2011-03-28 13:04 ` Arno Willig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110328124448.GA15266@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=akw@thinkwiki.org \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox