Skip to content
Snippets Groups Projects
Commit ca3782bb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add a log message in the beginning of function hci_initialize()"

parents 742a7fbe dcaea0f4
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,8 @@ class BluetoothHciCallbacks : public IBluetoothHciCallbacks {
};
void hci_initialize() {
LOG_INFO(LOG_TAG, "%s", __func__);
btHci = IBluetoothHci::getService();
// If android.hardware.bluetooth* is not found, Bluetooth can not continue.
CHECK(btHci != nullptr);
......@@ -130,4 +132,4 @@ void hci_transmit(BT_HDR* packet) {
LOG_ERROR(LOG_TAG, "Unknown packet type (%d)", event);
break;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment