bluetooth: Trivial function rename

Former setup_bt() was just setting up the transport, so it's easier to
follow if the function name makes this more explicit.
This commit is contained in:
Mikel Astiz 2012-09-28 17:45:27 +02:00 committed by Tanu Kaskinen
parent 67c0090556
commit 94dbf25e81

View file

@ -1976,7 +1976,7 @@ static void bt_transport_config(struct userdata *u) {
}
/* Run from main thread */
static int setup_bt(struct userdata *u) {
static int setup_transport(struct userdata *u) {
const pa_bluetooth_device *d;
const pa_bluetooth_transport *t;
@ -2016,7 +2016,7 @@ static int init_profile(struct userdata *u) {
pa_assert(u);
pa_assert(u->profile != PROFILE_OFF);
if (setup_bt(u) < 0)
if (setup_transport(u) < 0)
return -1;
if (u->profile == PROFILE_A2DP ||