Re: 2.6.39-rc2 regression: X201s fails to resume b77dcf8460ae57d4eb9fd3633eb4f97b8fb20716

From: Keith Packard
Date: Tue May 03 2011 - 10:51:46 EST


On Tue, 3 May 2011 09:27:34 +0200, Stefan Seyfried <stefan.seyfried@xxxxxxxxxxxxxx> wrote:

> Did this hit mainline already? I seem to suffer from this still with
> -rc5

It's on master, but not in -rc5:

commit b79f44c16a4e2181b1d6423afe746745d5e949ff
Author: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxxxxxx>
Date: Mon Apr 11 18:46:55 2011 -0300

Bluetooth: Fix keeping the command timer running

In the teardown path the reset command is sent to the controller,
this event causes the command timer to be reactivated.

So the timer is removed in two situations, when the adapter isn't
marked as UP and when we know that some command has been sent.

Reported-by: Keith Packard <keithp@xxxxxxxxxx>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxxxxxx>
Signed-off-by: Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx>

I'll be testing this patch shortly.

--
keith.packard@xxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature