summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-05-14 22:16:16 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-05-14 22:16:16 +0000
commit0094809955895c974fbe95f2d3ed13f420a6a6ed (patch)
tree0d45dff5770f69036e96539403bfd6e8bcfe7bb5 /audio/headset.c
parent2ce4523624b67b48da037beceffe5710144850ec (diff)
Make bt_io_callback_t to take both source and destination.
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 247d02d4..40a8a0d3 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -288,8 +288,8 @@ static unsigned int connect_cb_new(struct headset *hs,
return cb->id;
}
-static void sco_connect_cb(GIOChannel *chan, int err,
- gpointer user_data)
+static void sco_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
+ const bdaddr_t *dst, gpointer user_data)
{
int sk;
struct device *dev = user_data;
@@ -675,7 +675,8 @@ static gboolean sco_cb(GIOChannel *chan, GIOCondition cond,
return FALSE;
}
-static void rfcomm_connect_cb(GIOChannel *chan, int err, gpointer user_data)
+static void rfcomm_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
+ const bdaddr_t *dst, gpointer user_data)
{
struct device *dev = user_data;
struct headset *hs = dev->headset;