aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-06-10 00:47:22 +0200
committerSven Gothel <[email protected]>2020-06-10 00:47:22 +0200
commit07053ff8b5c0ade071a9355971d24d12dc061e7d (patch)
tree40fcf135ccef84980df3f92846a3eec1568be974 /src/direct_bt
parentf40e35e61b500194791eaa24c83ee62fc3b71271 (diff)
HCIHandler::processStructMetaCmd: Success case: Use DBG_PRINT instead of WARN_PRINT
Diffstat (limited to 'src/direct_bt')
-rw-r--r--src/direct_bt/HCIHandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/direct_bt/HCIHandler.cpp b/src/direct_bt/HCIHandler.cpp
index 5e750eec..4f6afa1a 100644
--- a/src/direct_bt/HCIHandler.cpp
+++ b/src/direct_bt/HCIHandler.cpp
@@ -649,15 +649,15 @@ std::shared_ptr<HCIEvent> HCIHandler::processStructMetaCmd(HCIStructCommand<hci_
if( ev_cc->isTypeAndSizeValid(mec) ) {
*status = ev_cc->getStatus();
*res = ev_cc->getStruct();
- WARN_PRINT("HCIHandler::processStructMetaCmd %s -> %s: Status 0x%2.2X (%s): res %s, req %s",
- getHCIOpcodeString(req.getOpcode()).c_str(), getHCIMetaEventTypeString(mec).c_str(),
- number(*status), getHCIStatusCodeString(*status).c_str(),
- ev_cc->toString().c_str(), req.toString().c_str());
+ DBG_PRINT("HCIHandler::processStructMetaCmd %s -> %s: Status 0x%2.2X (%s): res %s, req %s",
+ getHCIOpcodeString(req.getOpcode()).c_str(), getHCIMetaEventTypeString(mec).c_str(),
+ number(*status), getHCIStatusCodeString(*status).c_str(),
+ ev_cc->toString().c_str(), req.toString().c_str());
} else {
WARN_PRINT("HCIHandler::processStructMetaCmd %s -> %s: Type or size mismatch: Status 0x%2.2X (%s), errno %d %s: res %s, req %s",
- getHCIOpcodeString(req.getOpcode()).c_str(), getHCIMetaEventTypeString(mec).c_str(),
- number(*status), getHCIStatusCodeString(*status).c_str(), errno, strerror(errno),
- ev_cc->toString().c_str(), req.toString().c_str());
+ getHCIOpcodeString(req.getOpcode()).c_str(), getHCIMetaEventTypeString(mec).c_str(),
+ number(*status), getHCIStatusCodeString(*status).c_str(), errno, strerror(errno),
+ ev_cc->toString().c_str(), req.toString().c_str());
}
}