Bluetooth: Add command opcode to warning about unusual pool id
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
02cf1ab390
commit
8d02ab52ad
|
@ -2535,8 +2535,8 @@ static void hci_cmd_done(u16_t opcode, u8_t status, struct net_buf *buf)
|
|||
BT_DBG("opcode 0x%04x status 0x%02x buf %p", opcode, status, buf);
|
||||
|
||||
if (net_buf_pool_get(buf->pool_id) != &hci_cmd_pool) {
|
||||
BT_WARN("pool id %u pool %p != &hci_cmd_pool %p",
|
||||
buf->pool_id, net_buf_pool_get(buf->pool_id),
|
||||
BT_WARN("opcode 0x%04x pool id %u pool %p != &hci_cmd_pool %p",
|
||||
opcode, buf->pool_id, net_buf_pool_get(buf->pool_id),
|
||||
&hci_cmd_pool);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue