OSDN Git Service

Re-log stack/gatt/gatt_main::gatt_notify_phy_updated
authorChris Manton <cmanton@google.com>
Wed, 6 Jan 2021 01:48:34 +0000 (17:48 -0800)
committerChris Manton <cmanton@google.com>
Thu, 7 Jan 2021 00:56:34 +0000 (16:56 -0800)
Towards loggable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: I5ceaa69338345de6c0ac3497c0e572be04bbeb58

stack/gatt/gatt_main.cc

index 9114095..361ce6a 100644 (file)
@@ -505,7 +505,7 @@ void gatt_notify_phy_updated(tGATT_STATUS status, uint16_t handle,
                              uint8_t tx_phy, uint8_t rx_phy) {
   tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(handle);
   if (!p_dev_rec) {
-    BTM_TRACE_WARNING("%s: No Device Found!", __func__);
+    LOG_WARN("No Device Found!");
     return;
   }