summaryrefslogtreecommitdiffstats
path: root/src/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-02-06 19:31:27 +0100
committerSven Gothel <[email protected]>2021-02-06 19:31:27 +0100
commit058b16454e12cb347e083df3dde00d69d89f5f03 (patch)
tree9662223f5d5f0c036ed821f5325042fb4712bb23 /src/direct_bt
parent2d5d24d6b0816b5d74bb5ce7680287aa0a3c883b (diff)
HCIHandler::hciReaderThreadImpl(): Fix NPE: Add missing acldata->toString() argument
Diffstat (limited to 'src/direct_bt')
-rw-r--r--src/direct_bt/HCIHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/direct_bt/HCIHandler.cpp b/src/direct_bt/HCIHandler.cpp
index 745ef56a..991d6af7 100644
--- a/src/direct_bt/HCIHandler.cpp
+++ b/src/direct_bt/HCIHandler.cpp
@@ -385,7 +385,8 @@ void HCIHandler::hciReaderThreadImpl() noexcept {
l2cap.toString().c_str(), smpPDU->toString().c_str());
}
} else {
- COND_PRINT(env.DEBUG_EVENT, "HCIHandler-IO RECV Drop (ACL.L2CAP): %s, data %s", l2cap.toString().c_str());
+ COND_PRINT(env.DEBUG_EVENT, "HCIHandler-IO RECV Drop (ACL.L2CAP): %s, data %s",
+ l2cap.toString().c_str(), acldata->toString().c_str());
}
continue;