summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-18 14:45:29 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-18 14:45:29 +0200
commit8e1872f93d867af16bccd8839752a05422bdbc25 (patch)
tree86e598faa2b8b14aa61231ad2c84c8f4450b958d /src/adapter.c
parent5db6e1be09f666514d1a2a837863e2008f705958 (diff)
Rename create_bonding_conn_complete more appropriately
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 853592bb..35fc01ef 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1307,8 +1307,8 @@ void remove_pending_device(struct btd_adapter *adapter)
adapter_remove_device(adapter->bonding->conn, adapter, device);
}
-static gboolean create_bonding_conn_complete(GIOChannel *io, GIOCondition cond,
- struct btd_adapter *adapter)
+static gboolean create_bonding_io_cb(GIOChannel *io, GIOCondition cond,
+ struct btd_adapter *adapter)
{
struct hci_request rq;
auth_requested_cp cp;
@@ -1319,7 +1319,7 @@ static gboolean create_bonding_conn_complete(GIOChannel *io, GIOCondition cond,
if (!adapter->bonding) {
/* If we come here it implies a bug somewhere */
- debug("create_bonding_conn_complete: no pending bonding!");
+ debug("create_bonding_io_cb: no pending bonding!");
g_io_channel_close(io);
return FALSE;
}
@@ -1419,7 +1419,7 @@ static gboolean create_bonding_conn_complete(GIOChannel *io, GIOCondition cond,
adapter->bonding->io_id = g_io_add_watch(io,
G_IO_NVAL | G_IO_HUP | G_IO_ERR,
- (GIOFunc) create_bonding_conn_complete,
+ (GIOFunc) create_bonding_io_cb,
adapter);
return FALSE;
@@ -1566,7 +1566,7 @@ static DBusMessage *create_bonding(DBusConnection *conn, DBusMessage *msg,
bonding->io = g_io_channel_unix_new(sk);
bonding->io_id = g_io_add_watch(bonding->io,
G_IO_OUT | G_IO_NVAL | G_IO_HUP | G_IO_ERR,
- (GIOFunc) create_bonding_conn_complete,
+ (GIOFunc) create_bonding_io_cb,
adapter);
bonding->listener_id = g_dbus_add_disconnect_watch(conn,