diff options
author | Sven Gothel <[email protected]> | 2020-06-10 00:47:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-10 00:47:22 +0200 |
commit | 07053ff8b5c0ade071a9355971d24d12dc061e7d (patch) | |
tree | 40fcf135ccef84980df3f92846a3eec1568be974 /src/direct_bt | |
parent | f40e35e61b500194791eaa24c83ee62fc3b71271 (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.cpp | 14 |
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()); } } |