]> code.delx.au - pulseaudio/commit
bluetooth: Fix missing state checks for a2dp_source
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Thu, 16 Aug 2012 11:08:29 +0000 (13:08 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 21 Aug 2012 16:50:29 +0000 (19:50 +0300)
commit33e5802df206b5d47696fcbdff64d5355cc02e8f
treef0a4c8b76e995da370175124dfb451742e414744
parentd59275599af34cb286acd6540e36afe861511fbb
bluetooth: Fix missing state checks for a2dp_source

Profile a2dp_source, just like any other card profile, should have
state guards when the profile is being changed. If the BlueZ interface
is not connected, the profile should be set to "off".
src/modules/bluetooth/module-bluetooth-device.c