bluetooth: use consistent profile names
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 20 Aug 2016 17:39:30 +0000 (10:39 -0700)
committerIgor Kovalenko <igor.v.kovalenko@gmail.com>
Tue, 23 Feb 2021 06:54:39 +0000 (06:54 +0000)
commit709909a1fca31e9a00883e724c533832a4d4349d
tree2b24154c808fffb8fa9233543dd5efc1a81057e6
parentbca4c22832d3acbe67d84fcf8b67150ec75ee913
bluetooth: use consistent profile names

The PA_BLUETOOTH_PROFILE names should mirror the PA_BLUETOOTH_UUID
names using profile_function instead of randomly made up names.  Fix
this with the transformation:

PA_BLUETOOTH_PROFILE_HEADSET_HEAD_UNIT -> PA_BLUETOOTH_PROFILE_HSP_HS
PA_BLUETOOTH_PROFILE_HEADSET_AUDIO_GATEWAY -> PA_BLUETOOTH_PROFILE_HFP_AG

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---

v4: update for PA 11.0

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/491>
src/modules/bluetooth/backend-native.c
src/modules/bluetooth/backend-ofono.c
src/modules/bluetooth/bluez5-util.c
src/modules/bluetooth/bluez5-util.h
src/modules/bluetooth/module-bluez5-device.c