]> sigrok.org Git - libsigrok.git/commitdiff
bt/bt_bluez: Adjust some log levels.
authorUwe Hermann <redacted>
Sat, 26 Oct 2019 19:10:32 +0000 (21:10 +0200)
committerUwe Hermann <redacted>
Sat, 26 Oct 2019 19:31:51 +0000 (21:31 +0200)
src/bt/bt_bluez.c

index 8df950fb2e13ea762e2fc368d7e0e940e529ef6d..167216087133ba60c8aa6371444183aa30ee220b 100644 (file)
@@ -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;