This fixes Bluetooth USB dongle support.
*
******************************************************************************/
+#define LOG_TAG "bt_hciblecmds"
+
#include "bt_common.h"
#include "bt_target.h"
#include "btu.h"
#include "hcidefs.h"
#include "hcimsgs.h"
+#include "osi/include/log.h"
#include <base/bind.h>
#include <stddef.h>
base::Bind(
[](base::Callback<void(BT_OCTET8)> cb,
uint8_t* param, uint16_t param_len) {
- CHECK(param[0] == 0)
- << "LE Rand return status must be zero";
+ LOG_WARN(LOG_TAG,
+ "LE Rand return status is not zero: %u", param[0]);
cb.Run(param + 1 /* skip status */);
},
std::move(cb)));