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>
Thu, 24 Jan 2013 07:29:35 +0000 (09:29 +0200)
commitb02e6b196f13742d855fba08be5d6904a3391d16
tree45c7c8d7765771a1c268935dd9d0dcb4fa1e3ba4
parent02ec34a8838892d903e52bef7dacb22d1e3a9eb1
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