]> code.delx.au - pulseaudio/commit
bluetooth: Trivially refactor to call setup_stream() directly
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Mon, 3 Dec 2012 10:03:57 +0000 (11:03 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 4 Dec 2012 01:07:44 +0000 (03:07 +0200)
commit1dcdb96ee5384d16644271233ff93dbdd2e6c158
tree3823f3ede57e4e84d390b5e4900c18ccd1e91c48
parent6ef23eb4af309018b5e0e834d634e92deef79877
bluetooth: Trivially refactor to call setup_stream() directly

If the transport is already acquired and the stream needs to be started,
call setup_stream() directly instead of bt_transport_acquire(u, TRUE).
Both calls are identical in these conditions, with the exception of the
log trace which has now been moved to setup_stream().
src/modules/bluetooth/module-bluetooth-device.c