From eb3529e7fb3b5e58deb2c9d5ab8520c6864f0a17 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 18 Feb 2009 17:10:54 +0200 Subject: Print MTU also for SCO --- test/btiotest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/btiotest.c') diff --git a/test/btiotest.c b/test/btiotest.c index cf1c675a..1f71c659 100644 --- a/test/btiotest.c +++ b/test/btiotest.c @@ -115,7 +115,7 @@ static void connect_cb(GIOChannel *io, GError *err, gpointer user_data) printf("Successfully connected to %s\n", addr); - if (data->type == BT_IO_L2CAP) { + if (data->type == BT_IO_L2CAP || data->type == BT_IO_SCO) { uint16_t omtu, imtu; if (!bt_io_get(io, data->type, &err, @@ -126,7 +126,7 @@ static void connect_cb(GIOChannel *io, GError *err, gpointer user_data) err->message); g_clear_error(&err); } else - printf("L2CAP imtu=%u, omtu=%u\n", imtu, omtu); + printf("imtu=%u, omtu=%u\n", imtu, omtu); } if (data->disconn == 0) { -- cgit