From c89d0f20d9a4a786cd0346ab35123b2259e4bb5d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 20 Jun 2016 12:35:36 +0300 Subject: [PATCH] shared/att: Fix size of opcode ATT opcode are 1 octect long not 2. --- src/shared/att.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/att.c b/src/shared/att.c index abcf3bb3b..74a915001 100644 --- a/src/shared/att.c +++ b/src/shared/att.c @@ -184,7 +184,7 @@ struct att_send_op { unsigned int id; unsigned int timeout_id; enum att_op_type type; - uint16_t opcode; + uint8_t opcode; void *pdu; uint16_t len; bt_att_response_func_t callback; -- 2.47.3