commit | b79f44c16a4e2181b1d6423afe746745d5e949ff | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | Mon Apr 11 18:46:55 2011 -0300 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Mon Apr 18 20:11:46 2011 -0300 |
tree | e8e90fb0519bd74395adf5205693b5afec920266 | |
parent | 7a74aeb022b34a8fa8ef00545e66cf0568b5ddf6 [diff] |
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@keithp.com> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>