]> code.delx.au - pulseaudio/commit
bluetooth: Fix bluetooth.protocol property
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Wed, 22 Aug 2012 07:04:19 +0000 (09:04 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 22 Aug 2012 07:12:45 +0000 (10:12 +0300)
commit2ef75a07b5da212d983525bf12228c995b4d3f0d
treed41a32ca81be21948056c7d581c87456d6731e98
parent0359f6c62439af960a7dbbeffc4dfec6c988df84
bluetooth: Fix bluetooth.protocol property

Property bluetooth.protocol did make a distinction between A2DP sink and
source roles but on the contrary did not separate HFP roles (headset vs
gateway). For consistency, they should both behave similarly.

This automatically fixes another incosistency: the HFGW (or HSP) sink
was set to bluetooth.protocol="sco", while the source was set to "hsp".
There is no use for this distinction, since the protocol (including the
role) is the same.
src/modules/bluetooth/module-bluetooth-device.c