Diff between 5128fb7e2b7392a02a92371ae4da614f326b0356 and 4e19041eb89be53de44e4982e252007cb350ddf8

Changed Files

File Additions Deletions Status
android/android-tester.c +5 -0 modified

Full Patch

diff --git a/android/android-tester.c b/android/android-tester.c
index c7ffef0..0b9624d 100644
--- a/android/android-tester.c
+++ b/android/android-tester.c
@@ -698,6 +698,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,
@@ -850,5 +851,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();
 }