From 94dbf25e816af19f7ec9911828279b990e77482e Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Fri, 28 Sep 2012 17:45:27 +0200 Subject: [PATCH] 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. --- src/modules/bluetooth/module-bluetooth-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index e3ec6aee8..3e518b538 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -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 ||