summaryrefslogtreecommitdiff
path: root/monitor/ll.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-01-08 01:06:59 -0800
committerMarcel Holtmann <marcel@holtmann.org>2014-01-08 01:06:59 -0800
commit50e790bb57337e68e2ee915f7cb6addad7eefdc6 (patch)
treed6ab871e05f451a91ad7e8eab885e8177993a728 /monitor/ll.c
parent195eb65225af0755391f82a51f6ab8deec43cd89 (diff)
downloadbluez-50e790bb57337e68e2ee915f7cb6addad7eefdc6.tar.gz
monitor: Print descriptive LMP and LL error codes
Diffstat (limited to 'monitor/ll.c')
-rw-r--r--monitor/ll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/ll.c b/monitor/ll.c
index 1a66572b5..25a1b7d92 100644
--- a/monitor/ll.c
+++ b/monitor/ll.c
@@ -399,7 +399,7 @@ static void terminate_ind(const void *data, uint8_t size)
{
const struct bt_ll_terminate_ind *pdu = data;
- print_field("Error code: 0x%2.2x", pdu->error);
+ packet_print_error("Error code", pdu->error);
}
static void enc_req(const void *data, uint8_t size)
@@ -457,7 +457,7 @@ static void reject_ind(const void *data, uint8_t size)
{
const struct bt_ll_reject_ind *pdu = data;
- print_field("Error code: 0x%2.2x", pdu->error);
+ packet_print_error("Error code", pdu->error);
}
struct llcp_data {