]> code.delx.au - pulseaudio/commit
bluetooth: Don't force any profile on discovery module
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 17 Aug 2012 14:21:52 +0000 (17:21 +0300)
committerTanu Kaskinen <tanu.kaskinen@jollamobile.com>
Thu, 6 Sep 2012 12:59:34 +0000 (15:59 +0300)
commit75df8714d76337bce4c8dd1c7e135a39a00509b0
tree440adb44166f7f4dc7c9707478d95aeddef572f5
parent8228db051e5798cd823195412bee6d6e0279551a
bluetooth: Don't force any profile on discovery module

Let device module figure out the priority based on the state of the
profiles.

Note that most likely all profiles will be in PA_BT_AUDIO_STATE_CONNECTED
state so 'Off' will be the initial profile then it is up to the policy
module to switch to the most suitable profile.
src/modules/bluetooth/module-bluetooth-discover.c