diff --git a/profiles/audio/device.c b/profiles/audio/device.c
index a0ace5e..0d66d9a 100644
--- a/profiles/audio/device.c
+++ b/profiles/audio/device.c
}
}
-struct audio_device *audio_device_register(struct btd_device *device,
- const bdaddr_t *src,
- const bdaddr_t *dst)
+struct audio_device *audio_device_register(struct btd_device *device)
{
struct audio_device *dev;
dev = g_new0(struct audio_device, 1);
dev->btd_dev = btd_device_ref(device);
- bacpy(&dev->dst, dst);
- bacpy(&dev->src, src);
dev->priv = g_new0(struct dev_priv, 1);
dev->priv->state = AUDIO_STATE_DISCONNECTED;
diff --git a/profiles/audio/device.h b/profiles/audio/device.h
index 77e3c98..325214b 100644
--- a/profiles/audio/device.h
+++ b/profiles/audio/device.h
struct audio_device {
struct btd_device *btd_dev;
- bdaddr_t src;
- bdaddr_t dst;
-
struct sink *sink;
struct source *source;
struct control *control;
struct dev_priv *priv;
};
-struct audio_device *audio_device_register(struct btd_device *device,
- const bdaddr_t *src,
- const bdaddr_t *dst);
+struct audio_device *audio_device_register(struct btd_device *device);
void audio_device_unregister(struct audio_device *device);
diff --git a/profiles/audio/manager.c b/profiles/audio/manager.c
index 1f55df9..3498945 100644
--- a/profiles/audio/manager.c
+++ b/profiles/audio/manager.c
return NULL;
}
- dev = audio_device_register(device, src, dst);
+ dev = audio_device_register(device);
if (!dev)
return NULL;