bluetooth: Fix wrongly set "phone" role for HFGW
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 31 Aug 2012 10:50:57 +0000 (12:50 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Thu, 24 Jan 2013 07:29:36 +0000 (09:29 +0200)
commit9dcb9a9d436c4d006810955fdad5d07a823323ba
tree951e895fa48ee0b1393fe321f83d749d7885d9cb
parent6ac06377e20083da361f4357b4991249e4a56214
bluetooth: Fix wrongly set "phone" role for HFGW

The HFGW source should be consistent with the sink by not setting the
"phone" intended role.

Even though setting this role seems to make sense strictly speaking, the
rest of the codebase doesn't handle this well. Therefore, the audio
coming from a Bluetooth phone can be routed back to the same device.
src/modules/bluetooth/module-bluetooth-device.c