From 33dcb461dae5ccf293ccd5c31b952f8c21e42c64 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 16 Jan 2014 11:37:55 +0200 Subject: tools/rfcomm-tester: Update callback to match new API --- tools/rfcomm-tester.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/rfcomm-tester.c b/tools/rfcomm-tester.c index 7997a4b32..9c3533d01 100644 --- a/tools/rfcomm-tester.c +++ b/tools/rfcomm-tester.c @@ -455,9 +455,8 @@ static gboolean rfcomm_listen_cb(GIOChannel *io, GIOCondition cond, return false; } -static void connection_cb(uint16_t handle, uint16_t cid, - uint8_t channel, void *user_data, - bool status) +static void connection_cb(uint16_t handle, uint16_t cid, void *user_data, + bool status) { struct test_data *data = tester_get_data(); const struct rfcomm_server_data *server_data = data->test_data; -- cgit v1.2.3