From fd6f39b0f294aea744844996d0d90b4e7c7e6b65 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 17 Sep 2013 07:54:26 +0100 Subject: [PATCH] tools/l2cap-tester: Fix sending right req code in tests --- tools/l2cap-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index e6bd056ec..41b2e3e57 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); }