summaryrefslogtreecommitdiffstats
path: root/sys/dev/wl
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-02-04 16:08:18 +0000
committerphk <phk@FreeBSD.org>2001-02-04 16:08:18 +0000
commit709379c1aeaadc2770d45e2cb1bc6428c65f09d3 (patch)
treedfeb80ff1352759a12e59878a24ad037eef63ea0 /sys/dev/wl
parente01468552648a6fc51185ba9e47435b0d00ff96f (diff)
downloadFreeBSD-src-709379c1aeaadc2770d45e2cb1bc6428c65f09d3.zip
FreeBSD-src-709379c1aeaadc2770d45e2cb1bc6428c65f09d3.tar.gz
Another round of the <sys/queue.h> FOREACH transmogriffer.
Created with: sed(1) Reviewed by: md5(1)
Diffstat (limited to 'sys/dev/wl')
-rw-r--r--sys/dev/wl/if_wl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 67a50d7..b52762c8 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -2060,8 +2060,7 @@ wlconfig(int unit)
outw(PIOP1(base), AC_MCSETUP|AC_CW_EL); /* ac_command */
outw(PIOR1(base), OFFSET_CU + 8);
#if defined(__FreeBSD__) && __FreeBSD_version >= 300000
- for (ifma = LIST_FIRST(&sc->wl_if.if_multiaddrs); ifma;
- ifma = LIST_NEXT(ifma, ifma_link)) {
+ LIST_FOREACH(ifma, &sc->wl_if.if_multiaddrs, ifma_link) {
if (ifma->ifma_addr->sa_family != AF_LINK)
continue;
OpenPOWER on IntegriCloud