OSDN Git Service

Controller: Debug message for unuspported opcodes
authorMyles Watson <mylesgw@google.com>
Wed, 24 Feb 2021 15:41:39 +0000 (07:41 -0800)
committerMyles Watson <mylesgw@google.com>
Wed, 24 Feb 2021 21:47:17 +0000 (21:47 +0000)
Bug: 181159438
Test: cert/run
Tag: #gd-refactor
Change-Id: Iebee00b614da04cac77f9b2a8c104f16c97a8252

gd/hci/controller.cc

index ac1888b..02bfbbf 100644 (file)
@@ -514,7 +514,7 @@ struct Controller::impl {
     uint16_t bit_index = index % 10;                                           \
     bool supported = local_supported_commands_[byte_index] & (1 << bit_index); \
     if (!supported) {                                                          \
-      LOG_WARN("unsupported command opcode: 0x%04x", (uint16_t)OpCode::name);  \
+      LOG_DEBUG("unsupported command opcode: 0x%04x", (uint16_t)OpCode::name); \
     }                                                                          \
     return supported;                                                          \
   }