• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

system/bt


Commit MetaInfo

Revisión18a51dc4f68a92b185c206079e4311b52de1315a (tree)
Tiempo2019-11-14 13:21:27
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

hciblecmds: remove unnecessary checking

This fixes Bluetooth USB dongle support.

Cambiar Resumen

Diferencia incremental

--- a/stack/hcic/hciblecmds.cc
+++ b/stack/hcic/hciblecmds.cc
@@ -23,11 +23,14 @@
2323 *
2424 ******************************************************************************/
2525
26+#define LOG_TAG "bt_hciblecmds"
27+
2628 #include "bt_common.h"
2729 #include "bt_target.h"
2830 #include "btu.h"
2931 #include "hcidefs.h"
3032 #include "hcimsgs.h"
33+#include "osi/include/log.h"
3134
3235 #include <base/bind.h>
3336 #include <stddef.h>
@@ -396,8 +399,8 @@ void btsnd_hcic_ble_rand(base::Callback<void(BT_OCTET8)> cb) {
396399 base::Bind(
397400 [](base::Callback<void(BT_OCTET8)> cb,
398401 uint8_t* param, uint16_t param_len) {
399- CHECK(param[0] == 0)
400- << "LE Rand return status must be zero";
402+ LOG_WARN(LOG_TAG,
403+ "LE Rand return status is not zero: %u", param[0]);
401404 cb.Run(param + 1 /* skip status */);
402405 },
403406 std::move(cb)));