OSDN Git Service

log: Swap proper initiator
authorChris Manton <cmanton@google.com>
Thu, 29 Apr 2021 00:51:59 +0000 (17:51 -0700)
committerChris Manton <cmanton@google.com>
Mon, 3 May 2021 01:43:04 +0000 (18:43 -0700)
Bug: 163134718
Test: gd/cert/run
Tag: #refactor

Change-Id: I9ade378b5de1677d6be9d7e56af8589ff023e613

bta/hh/bta_hh_act.cc

index e06aafe..7573b8d 100644 (file)
@@ -539,7 +539,7 @@ void bta_hh_open_cmpl_act(tBTA_HH_DEV_CB* p_cb, tBTA_HH_DATA* p_data) {
   BTM_LogHistory(kBtmLogTag, p_cb->addr, "Opened",
                  base::StringPrintf(
                      "%s initiator:%s", (p_cb->is_le_device) ? "le" : "classic",
-                     (p_cb->incoming_conn) ? "local" : "remote"));
+                     (p_cb->incoming_conn) ? "remote" : "local"));
 
   if (!p_cb->is_le_device)
   {