diff options
| author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-05-14 22:16:16 +0000 | 
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-05-14 22:16:16 +0000 | 
| commit | 0094809955895c974fbe95f2d3ed13f420a6a6ed (patch) | |
| tree | 0d45dff5770f69036e96539403bfd6e8bcfe7bb5 /audio/headset.c | |
| parent | 2ce4523624b67b48da037beceffe5710144850ec (diff) | |
Make bt_io_callback_t to take both source and destination.
Diffstat (limited to 'audio/headset.c')
| -rw-r--r-- | audio/headset.c | 7 | 
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; | 
