Diff between a4ddde38bf88a572dbe0c312294396ed09dcaf3b and fd6f39b0f294aea744844996d0d90b4e7c7e6b65

Changed Files

File Additions Deletions Status
tools/l2cap-tester.c +1 -1 modified

Full Patch

diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index e6bd056..41b2e3e 100644
--- a/tools/l2cap-tester.c
+++ b/tools/l2cap-tester.c
@@ -556,7 +556,7 @@ static void client_new_conn(uint16_t handle, void *user_data)
 		tester_print("Sending L2CAP Request from client");
 
 		bthost = hciemu_client_get_host(data->hciemu);
-		bthost_l2cap_req(bthost, handle, BT_L2CAP_PDU_CONN_REQ,
+		bthost_l2cap_req(bthost, handle, l2data->send_req_code,
 					l2data->send_req, l2data->send_req_len,
 					cb, data);
 	}