summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/if_fe.c')
-rw-r--r--sys/dev/isa/if_fe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/if_fe.c b/sys/dev/isa/if_fe.c
index 6e02157c6bc..c8e851748f4 100644
--- a/sys/dev/isa/if_fe.c
+++ b/sys/dev/isa/if_fe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fe.c,v 1.20 2004/05/12 06:35:11 tedu Exp $ */
+/* $OpenBSD: if_fe.c,v 1.21 2005/01/15 05:24:11 brad Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -1979,7 +1979,8 @@ fe_ioctl(ifp, command, data)
* Multicast list has changed; set the hardware filter
* accordingly.
*/
- fe_setmode(sc);
+ if (ifp->if_flags & IFF_RUNNING)
+ fe_setmode(sc);
error = 0;
}
break;