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)
committerJaska Uimonen <jaska.uimonen@intel.com>
Mon, 10 Dec 2012 20:43:57 +0000 (22:43 +0200)
commit85e0f787616e023142ad43b70d37299013385bc4
treeac7fb2c9d8e3a215c986d0d3556ca720122bb75b
parent66a95ddf939d4e0c0b10f464530a794ab7aeebfd
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