diff options
author | 2020-07-20 08:22:06 +0000 | |
---|---|---|
committer | 2020-07-20 08:22:06 +0000 | |
commit | 23f86de94ee0795968358caba28ac60100154d3a (patch) | |
tree | e4aeaa10337452788598ef34c5d5ec48d89d5c73 | |
parent | Fix gain calibration for some iwn(4) devices (5000 and up). (diff) | |
download | wireguard-openbsd-23f86de94ee0795968358caba28ac60100154d3a.tar.xz wireguard-openbsd-23f86de94ee0795968358caba28ac60100154d3a.zip |
KNF for multi-line comment added to iwn5000_set_gains() in previous commit.
-rw-r--r-- | sys/dev/pci/if_iwn.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index d95af421f0e..00c436ebb15 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.238 2020/07/20 08:19:59 stsp Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.239 2020/07/20 08:22:06 stsp Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -4598,10 +4598,11 @@ iwn5000_set_gains(struct iwn_softc *sc) cmd.code = sc->noise_gain; cmd.ngroups = 1; cmd.isvalid = 1; - /* Get first available RX antenna as referential. - * IWN_LSB() return values start with 1, but - * antenna gain array cmd.gain[] and noise array - * calib->noise[] start with 0. */ + /* + * Get first available RX antenna as referential. + * IWN_LSB() return values start with 1, but antenna gain array + * cmd.gain[] and noise array calib->noise[] start with 0. + */ ant = IWN_LSB(sc->rxchainmask) - 1; /* Set differential gains for other antennas. */ |