Re: 3.10-rc: bluetooth disappeared on thinkpad x60 (regression)

From: Pavel Machek
Date: Thu Jun 13 2013 - 04:45:59 EST


On Thu 2013-06-13 11:04:42, Johan Hedberg wrote:
> Hi Pavel,
>
> On Thu, Jun 13, 2013, Johan Hedberg wrote:
> > On Wed, Jun 12, 2013, Pavel Machek wrote:
> > > < HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0
> > > > HCI Event: Command Complete (0x0e) plen 68
> > > Read Local Supported Commands (0x04|0x0002) ncmd 1
> > > status 0x00
> > > Commands: ffffffffffff1ffffffffffff30fffff3f
> >
> > As I suspected, even though the Delete Stored Link Key command is
> > mandatory from Bluetooth version 1.1 onwards (this controller supports
> > 2.0) this controller doesn't have it mentioned in its supported commands
> > response (counting from 0 it should be bit 7 of octet 6). Therefore, it
> > might be possible to just move sending of this problematic command to
> > after receiving the supported commands response and making it
> > conditional to having its respective bit set in the mask. I'll be
> > sending another patch proposal soon.
>
> I just sent a patch to linux-bluetooth for this. It would be nice if you
> could revert the previous patch, apply this one instead (also attached
> to this email) and let us know if it works fine.

Patch works for me, thanks!

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/