diff options
Diffstat (limited to 'sys/dev/ic/smc91cxx.c')
-rw-r--r-- | sys/dev/ic/smc91cxx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c index 5caa5ca0c9c..afc1ec6a141 100644 --- a/sys/dev/ic/smc91cxx.c +++ b/sys/dev/ic/smc91cxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxx.c,v 1.18 2004/05/12 06:35:10 tedu Exp $ */ +/* $OpenBSD: smc91cxx.c,v 1.19 2005/01/15 05:24:11 brad Exp $ */ /* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */ /*- @@ -1059,7 +1059,8 @@ smc91cxx_ioctl(ifp, cmd, data) * Multicast list has changed; set the hardware * filter accordingly. */ - smc91cxx_reset(sc); + if (ifp->if_flags & IFF_RUNNING) + smc91cxx_reset(sc); error = 0; } break; |