diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-18 17:10:54 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-18 17:10:54 +0200 |
commit | eb3529e7fb3b5e58deb2c9d5ab8520c6864f0a17 (patch) | |
tree | 8a78198a9384b4803b606bc49d18998a6069fc12 /test/btiotest.c | |
parent | 45126792ea1ed60d7de4163df526eeac290e2439 (diff) |
Print MTU also for SCO
Diffstat (limited to 'test/btiotest.c')
-rw-r--r-- | test/btiotest.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |