Bluetooth: Warn unkown ATT PDUs
The code should always warn about unkown PDUs since it could be causing unexpected behavior or that something is missing. Change-Id: Idc608ca221c5ff6e440f90fa24c2cd6a3e6437fc Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
36bf88678c
commit
f436fc835e
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ void bt_att_recv(struct bt_conn *conn, struct bt_buf *buf)
|
|||
att_signed_write_cmd(conn, buf);
|
||||
break;
|
||||
default:
|
||||
BT_DBG("Unhandled ATT code %u\n", hdr->code);
|
||||
BT_WARN("Unhandled ATT code %u\n", hdr->code);
|
||||
send_err_rsp(conn, hdr->code, 0, BT_ATT_ERR_NOT_SUPPORTED);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue