From: Johan Hedberg Date: Tue, 24 Sep 2013 12:52:07 +0000 (+0300) Subject: tools/l2cap-tester: Fix passing correct psm to create_l2cap_sock() X-Git-Tag: android-x86-4.4-r3~7539 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=82574c4fee1d7920cd4cc58bc87ae1280a2ac87d;p=android-x86%2Fexternal-bluetooth-bluez.git tools/l2cap-tester: Fix passing correct psm to create_l2cap_sock() --- diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index 26616335b..32532756d 100644 --- a/tools/l2cap-tester.c +++ b/tools/l2cap-tester.c @@ -660,7 +660,7 @@ static void test_bredr_server(const void *test_data) int sk; if (l2data->server_psm) { - sk = create_l2cap_sock(data, 0x0001); + sk = create_l2cap_sock(data, l2data->server_psm); if (sk < 0) { tester_test_failed(); return;