When building for Linux, missing log tags cause errors.
Change-Id: I0b3cda3333c059251b00a25bbfc7e764057286be
static void bta_hf_client_at_resp_timer_cback(UNUSED_ATTR void *data)
{
if (bta_hf_client_cb.scb.at_cb.current_cmd == BTA_HF_CLIENT_AT_CNUM) {
- LOG_INFO("%s timed out waiting for AT+CNUM response; spoofing OK.", __func__);
+ LOG_INFO(LOG_TAG, "%s timed out waiting for AT+CNUM response; spoofing OK.", __func__);
bta_hf_client_handle_ok();
} else {
APPL_TRACE_ERROR("HFPClient: AT response timeout, disconnecting");
*
******************************************************************************/
+#define LOG_TAG "btif_av"
+
#include "btif_av.h"
#include <assert.h>
if (!bdaddr_equals(p_auth_cmpl->bd_addr, pairing_cb.bd_addr)) {
char address[32];
bdaddr_to_string(&p_auth_cmpl->bd_addr, address, sizeof(address));
- LOG_INFO("%s skipping SDP since we did not initiate pairing to %s.", __func__, address);
+ LOG_INFO(LOG_TAG, "%s skipping SDP since we did not initiate pairing to %s.", __func__, address);
return;
}