From 04ef992ff892cd1ff3e21b30c6b10adf390c3a9e Mon Sep 17 00:00:00 2001 From: Marcin Kraglak Date: Fri, 20 Dec 2013 11:53:46 +0100 Subject: [PATCH] android/android-tester: Remove not necessary bthost_set_server_psm Replace this function with bthost_add_l2cap_server(). --- android/android-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/android-tester.c b/android/android-tester.c index aa0c1552a..5e6039740 100644 --- a/android/android-tester.c +++ b/android/android-tester.c @@ -1404,7 +1404,7 @@ static void test_socket_real_connect(const void *test_data) bdaddr2android((bdaddr_t *) client_bdaddr, &emu_bdaddr); - bthost_set_server_psm(bthost, 0x0003); + bthost_add_l2cap_server(bthost, 0x0003, NULL, NULL); status = data->if_sock->connect(&emu_bdaddr, test->sock_type, test->service_uuid, test->channel, -- 2.47.3