summaryrefslogtreecommitdiff
path: root/plugins/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r--plugins/bluetooth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 2ab29a68..c6f4d152 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -454,7 +454,7 @@ done:
dbus_pending_call_unref(call);
}
-static void add_network(struct connman_device *device, const char *path)
+static void add_network(const char *path)
{
DBusMessage *message;
DBusPendingCall *call;
@@ -501,7 +501,7 @@ static void check_networks(struct connman_device *device,
dbus_message_iter_get_basic(&value, &path);
- add_network(device, path);
+ add_network(path);
dbus_message_iter_next(&value);
}
@@ -594,7 +594,7 @@ static gboolean device_changed(DBusConnection *conn,
DBG("key %s", key);
if (g_str_equal(key, "UUIDs") == TRUE)
- add_network(NULL, path);
+ add_network(path);
return TRUE;
}