From: Uwe Hermann Date: Sat, 26 Oct 2019 19:10:32 +0000 (+0200) Subject: bt/bt_bluez: Adjust some log levels. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0f92d5db036e266a04edfdfe5b7c8cefd7ff2193;p=libsigrok.git bt/bt_bluez: Adjust some log levels. --- diff --git a/src/bt/bt_bluez.c b/src/bt/bt_bluez.c index 8df950fb..16721608 100644 --- a/src/bt/bt_bluez.c +++ b/src/bt/bt_bluez.c @@ -217,12 +217,12 @@ SR_PRIV const char *sr_bt_adapter_get_address(size_t idx) char addr[20]; rc = hci_devinfo(idx, &info); - sr_dbg("DIAG: hci_devinfo(%zu) => rc %d", idx, rc); + sr_spew("DIAG: hci_devinfo(%zu) => rc %d", idx, rc); if (rc < 0) return NULL; rc = ba2str(&info.bdaddr, addr); - sr_dbg("DIAG: ba2str() => rc %d", rc); + sr_spew("DIAG: ba2str() => rc %d", rc); if (rc < 0) return NULL; @@ -403,7 +403,7 @@ static int sr_bt_desc_open(struct sr_bt_desc *desc, int *id_ref) id = hci_get_route(NULL); } if (id < 0) { - sr_spew("devid failed"); + sr_err("devid failed"); return -1; } desc->devid = id;