Diff between d217739b95fc1d8eadac1cd096daa6e7141d4b9c and 85771054da39174ba4159e71562e8e98d6e7e6b7
Changed Files
| File | Additions | Deletions | Status |
| tools/l2cap-tester.c | +2 | -1 | modified |
Full Patch
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index a5028a3..d4a5041 100644
--- a/tools/l2cap-tester.c
+++ b/tools/l2cap-tester.c
@@ -731,7 +731,8 @@ static void test_connect(const void *test_data)
struct bthost *bthost = hciemu_client_get_host(data->hciemu);
if (!l2data->data_len)
- bthost_set_server_psm(bthost, l2data->server_psm);
+ bthost_add_l2cap_server(bthost, l2data->server_psm,
+ NULL, NULL);
else
bthost_add_l2cap_server(bthost, l2data->server_psm,
client_l2cap_connect_cb, data);