summaryrefslogtreecommitdiffstats
path: root/input/device.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 /input/device.c
parent2ce4523624b67b48da037beceffe5710144850ec (diff)
Make bt_io_callback_t to take both source and destination.
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/input/device.c b/input/device.c
index 131e626d..04cabb0f 100644
--- a/input/device.c
+++ b/input/device.c
@@ -371,7 +371,8 @@ failed:
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 *idev = user_data;
struct fake_input *fake;
@@ -553,7 +554,8 @@ cleanup:
return err;
}
-static void interrupt_connect_cb(GIOChannel *chan, int err, gpointer user_data)
+static void interrupt_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
+ const bdaddr_t *dst, gpointer user_data)
{
struct device *idev = user_data;
@@ -594,7 +596,8 @@ cleanup:
idev->pending_connect = NULL;
}
-static void control_connect_cb(GIOChannel *chan, int err, gpointer user_data)
+static void control_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
+ const bdaddr_t *dst, gpointer user_data)
{
struct device *idev = user_data;