summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-01 14:32:31 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:31:06 -0300
commit1ea3f7de314eb0b699cac4b80f5085666c0e6d50 (patch)
treea198b3aa9b846023335dd24d057c18ad7e88cb1d /hcid/adapter.c
parent2f47d311398c938ea456620f12ed2ff47153f2dc (diff)
Cleanup dbus-hci.c and make hcid to only register adapters on /hciX.
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index dce1f6c8..e79183c9 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -2099,7 +2099,7 @@ static GDBusSignalTable adapter_signals[] = {
dbus_bool_t adapter_init(DBusConnection *conn,
const char *path, struct adapter *adapter)
{
- return g_dbus_register_interface(conn, path + ADAPTER_PATH_INDEX,
+ return g_dbus_register_interface(conn, path,
ADAPTER_INTERFACE, adapter_methods,
adapter_signals, NULL, adapter, NULL);
}