Commit: df1c61b817adcd816931d540ad7f7ac0d9020635
Parent: 516bae4d53d5653fa45f1dd1ff68c680dfdc350d
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-02-13 16:28:35
Tree: 04b2cac861186d62513d3343181651ec3df1d05a

transport: Fix inconsistent transport state If a2dp_resume() fails, the transport state should not be modified. It would otherwise enter an incosistent state where the transport will be impossible to resume, since acquire() will see the transport in TRANSPORT_STATE_REQUESTING state and will thus return btd_error_not_authorized().

Diffstat

M profiles/audio/transport.c | 14 +++++++++++- - -

1 files changed, 11 insertions(+), 3 deletions(-)

View Full Diff | Patch