dundee: Use ordinary string instead of ident
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 28 Jan 2013 15:44:29 +0000 (17:44 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 30 Jan 2013 08:27:17 +0000 (10:27 +0200)
The string is only used for debugging purposes.

plugins/dundee.c

index 0a48db1..7ebdfe9 100644 (file)
@@ -96,7 +96,7 @@ static int create_device(struct dundee_data *info)
        DBG("%s", info->path);
 
        ident = g_strdup(get_ident(info->path));
-       device = connman_device_create(ident, CONNMAN_DEVICE_TYPE_BLUETOOTH);
+       device = connman_device_create("dundee", CONNMAN_DEVICE_TYPE_BLUETOOTH);
        if (device == NULL) {
                err = -ENOMEM;
                goto out;