Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e83bcae authored by Yun-hao Chung's avatar Yun-hao Chung Committed by Gerrit Code Review
Browse files

Merge "Floss: Improve the logging in finding HCI interface" into main

parents eaf46219 d67eb600
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -168,9 +168,12 @@ int waitHciDev(int hci_interface) {
            }
          }

          if (ret != 0) {
            // Chipset might be lost. Wait for index added event.
          bluetooth::log::error("HCI interface({}) not found in the MGMT lndex list",
                                hci_interface);
            bluetooth::log::error(
                    "MGMT index list returns {} HCI interfaces, but HCI interface({}) is not found",
                    cc->num_intf, hci_interface);
          }
        } else {
          // Unlikely event (probably developer error or driver shut down).
          bluetooth::log::error("Failed to read index list: status({})", cc->status);