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

From: Johan Hedberg
Date: Thu Jun 13 2013 - 04:05:03 EST


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.

Johan