diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-29 11:05:32 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-29 11:05:32 +0300 |
commit | 391dbdefa0dfe3e8cddcd280019cb39b5aa0b24e (patch) | |
tree | 7bb50bae3f74edafc9a74f5677162753983d3248 /tools | |
parent | 97d492f2393ba7b599c5597dd9a4b1b46ddc9e5b (diff) |
emulator: Make bthost L2CAP sender strictly only for requests
Diffstat (limited to 'tools')
-rw-r--r-- | tools/l2cap-tester.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index 540569180..f6426a706 100644 --- a/tools/l2cap-tester.c +++ b/tools/l2cap-tester.c @@ -28,6 +28,7 @@ #include <stdlib.h> #include <unistd.h> #include <errno.h> +#include <stdbool.h> #include <glib.h> @@ -479,7 +480,7 @@ static void client_new_conn(uint16_t handle, void *user_data) req.scid = htobs(0x0041); bthost = hciemu_client_get_host(data->hciemu); - bthost_l2cap_cmd(bthost, handle, BT_L2CAP_PDU_CONN_REQ, 0, + bthost_l2cap_req(bthost, handle, BT_L2CAP_PDU_CONN_REQ, &req, sizeof(req)); } |