diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-14 03:26:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-14 03:26:26 +0000 |
commit | fa33e8cf95b060553529ddddf7093ee42294f9cc (patch) | |
tree | e3dac3589dc480a6f01c14a4d6a564f38f89a381 /sys/dev/pci/if_ipw.c | |
parent | 1f92fdc695cc746e49709602431cd1054b13ddeb (diff) |
with empty body loops, put final semicolon on a new line for readability
ok bluhm@ jca@
Diffstat (limited to 'sys/dev/pci/if_ipw.c')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index a9fc9d5cecb..37b4d8c3a5f 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ipw.c,v 1.133 2023/03/08 04:43:08 guenther Exp $ */ +/* $OpenBSD: if_ipw.c,v 1.134 2024/04/14 03:26:25 jsg Exp $ */ /*- * Copyright (c) 2004-2008 @@ -653,7 +653,8 @@ ipw_media_status(struct ifnet *ifp, struct ifmediareq *imr) val &= 0xf; /* convert rate to 802.11 rate */ - for (i = 0; i < nitems(rates) && rates[i].val != val; i++); + for (i = 0; i < nitems(rates) && rates[i].val != val; i++) + ; rate = (i < nitems(rates)) ? rates[i].rate : 0; imr->ifm_active |= IFM_IEEE80211_11B; |