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/sk | |
| parent | 691c1528642471e055f9dba40e16ff11eca73fd4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sk')
| -rw-r--r-- | sys/dev/sk/if_sk.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 81db591c36897..aee546f554bb7 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.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_sk.c,v 1.7 1999/07/23 02:06:55 wpaul Exp $ + * $Id: if_sk.c,v 1.51 1999/07/14 21:48:19 wpaul Exp $ */ /* @@ -102,7 +102,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_sk.c,v 1.7 1999/07/23 02:06:55 wpaul Exp $"; + "$Id: if_sk.c,v 1.51 1999/07/14 21:48:19 wpaul Exp $"; #endif static struct sk_type sk_devs[] = { @@ -1928,8 +1928,10 @@ static void sk_stop(sc_if) { int i; struct sk_softc *sc; + struct ifnet *ifp; sc = sc_if->sk_softc; + ifp = &sc_if->arpcom.ac_if; /* Turn off various components of this interface. */ SK_IF_WRITE_2(sc_if, 0, SK_TXF1_MACCTL, SK_TXMACCTL_XMAC_RESET); @@ -1966,5 +1968,7 @@ static void sk_stop(sc_if) } } + ifp->if_flags &= ~(IFF_RUNNING|IFF_OACTIVE); + return; } |
