summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_iy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/if_iy.c')
-rw-r--r--sys/dev/isa/if_iy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/if_iy.c b/sys/dev/isa/if_iy.c
index a91f47281fe..db4dddba6a3 100644
--- a/sys/dev/isa/if_iy.c
+++ b/sys/dev/isa/if_iy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iy.c,v 1.19 2004/05/12 06:35:11 tedu Exp $ */
+/* $OpenBSD: if_iy.c,v 1.20 2005/01/15 05:24:11 brad Exp $ */
/* $NetBSD: if_iy.c,v 1.4 1996/05/12 23:52:53 mycroft Exp $ */
/* #define IYDEBUG */
/* #define IYMEMDEBUG */
@@ -1165,7 +1165,8 @@ iyioctl(ifp, cmd, data)
* Multicast list has changed; set the hardware filter
* accordingly.
*/
- iy_mc_reset(sc); /* XXX */
+ if (ifp->if_flags & IFF_RUNNING)
+ iy_mc_reset(sc); /* XXX */
error = 0;
}
break;