#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
+static int acl_conn_index;
static struct class *bt_class;
struct dentry *bt_debugfs;
BT_DBG("conn %p", conn);
- dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle);
+ acl_conn_index++;
+ dev_set_name(&conn->dev, "%s:%d:%d", hdev->name, conn->handle,
+ acl_conn_index);
if (device_add(&conn->dev) < 0) {
BT_ERR("Failed to register connection device");