From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/android-tester.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/android-tester.c b/android/android-tester.c index a6fbcb5..7518f98 100644 --- a/android/android-tester.c +++ b/android/android-tester.c @@ -715,6 +715,7 @@ static const struct socket_data btsock_inv_param_socktype = { }; static const struct socket_data btsock_inv_param_socktype_l2cap = { + .bdaddr = &bdaddr_dummy, .sock_type = BTSOCK_L2CAP, .channel = 1, .service_uuid = NULL, @@ -867,5 +868,9 @@ int main(int argc, char *argv[]) &btsock_inv_param_socktype, setup_socket_interface, test_generic_connect, teardown); + test_bredrle("Test Socket Connect - Invalid: sock_type L2CAP", + &btsock_inv_param_socktype_l2cap, + setup_socket_interface, test_generic_connect, teardown); + return tester_run(); } -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html