diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1999-07-25 05:16:05 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1999-07-25 05:16:05 +0000 |
| commit | c9ce464cb7a78e52021b5fff15c2cae8d3d35398 (patch) | |
| tree | 460a876d624cab4f163193b1b0068b68fc77a9c1 /sys/dev/sf | |
| parent | 691c1528642471e055f9dba40e16ff11eca73fd4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sf')
| -rw-r--r-- | sys/dev/sf/if_sf.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 685d0f95c6a1..e4de7e6956db 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_sf.c,v 1.11 1999/07/24 21:13:38 wpaul Exp $ + * $Id: if_sf.c,v 1.12 1999/07/25 05:10:18 wpaul Exp $ */ /* @@ -119,7 +119,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_sf.c,v 1.11 1999/07/24 21:13:38 wpaul Exp $"; + "$Id: if_sf.c,v 1.12 1999/07/25 05:10:18 wpaul Exp $"; #endif static struct sf_type sf_devs[] = { @@ -1720,6 +1720,9 @@ static void sf_stop(sc) struct sf_softc *sc; { int i; + struct ifnet *ifp; + + ifp = &sc->arpcom.ac_if; untimeout(sf_stats_update, sc, sc->sf_stat_ch); @@ -1748,6 +1751,8 @@ static void sf_stop(sc) } } + ifp->if_flags &= ~(IFF_RUNNING|IFF_OACTIVE); + return; } |
