bluetooth: Release MediaEnpoint if card profile is set to Off
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Tue, 4 Oct 2011 07:37:23 +0000 (09:37 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 2 Nov 2011 18:51:39 +0000 (00:21 +0530)
commit2c213607e2dad22cb0cd16ecbaa13a763758cb13
treef303ba794993722c5c16389593feb71c4d58762b
parent54f3b9a6fa47b618a31474d3786ed26248d3091d
bluetooth: Release MediaEnpoint if card profile is set to Off

If card profile is set to "off", the audio stream should be released.
Current implementation releases the stream when the card profile
is changed to "hsp" or "hfgw" again and immediatly reconnects after that.
src/modules/bluetooth/module-bluetooth-device.c