Diff between 6ed27370c0f0a7bc55674abf6771b17b1a77e083 and a5783264f7975b4e8f1d012bc033a10ee6e5b19c
Changed Files
| File | Additions | Deletions | Status |
| plugins/mgmtops.c | +3 | -1 | modified |
Full Patch
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index c91e930..0b5a940 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1404,7 +1404,9 @@ static void mgmt_cmd_status(int sk, uint16_t index, void *buf, size_t len)
opcode = btohs(bt_get_unaligned(&ev->opcode));
- DBG("status %u opcode %u (index %u)", ev->status, opcode, index);
+ error("hci%u: %s (0x%04x) failed: %s (0x%02x)", index,
+ mgmt_opstr(opcode), opcode, mgmt_errstr(ev->status),
+ ev->status);
switch (opcode) {
case MGMT_OP_READ_LOCAL_OOB_DATA: