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>
Mon, 10 Dec 2012 20:43:57 +0000 (22:43 +0200)
commitbfc7175a09b8301bef006de3521ed20ff6d2e318
tree3c2121d11336d6d77d4f78de428c3731c09ef6cc
parentb703786b5aaaaf49661cd992fea3ebdaec6949e3
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