diff options
author | deraadt <deraadt@openbsd.org> | 2019-09-29 15:31:16 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2019-09-29 15:31:16 +0000 |
commit | 8e1b6e1611110a7f0bb4c38742f3b941aaa78ba6 (patch) | |
tree | b37ee15c734d3ed71a8b401dd1b75e2177859d9e /sys/dev/usb/if_umb.c | |
parent | Fix pasto. (diff) | |
download | wireguard-openbsd-8e1b6e1611110a7f0bb4c38742f3b941aaa78ba6.tar.xz wireguard-openbsd-8e1b6e1611110a7f0bb4c38742f3b941aaa78ba6.zip |
turn the success paths of FCC registration into debug prints. The
(unlikely) failure path remains noisy.
discussed with claudio
Diffstat (limited to 'sys/dev/usb/if_umb.c')
-rw-r--r-- | sys/dev/usb/if_umb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_umb.c b/sys/dev/usb/if_umb.c index ff5085daef3..a8ea64213e1 100644 --- a/sys/dev/usb/if_umb.c +++ b/sys/dev/usb/if_umb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_umb.c,v 1.25 2019/09/27 14:58:07 claudio Exp $ */ +/* $OpenBSD: if_umb.c,v 1.26 2019/09/29 15:31:16 deraadt Exp $ */ /* * Copyright (c) 2016 genua mbH @@ -2572,11 +2572,11 @@ umb_decode_qmi(struct umb_softc *sc, uint8_t *data, int len) break; case 0x555f: /* Send FCC Authentication */ if (val == 0) - log(LOG_INFO, "%s: send FCC " + DPRINTF("%s: send FCC " "Authentication succeeded\n", DEVNAM(sc)); else if (val == 0x001a0001) - log(LOG_INFO, "%s: FCC Authentication " + DPRINTF("%s: FCC Authentication " "not required\n", DEVNAM(sc)); else log(LOG_INFO, "%s: send FCC " |