summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-11-02 23:35:16 +0000
committerdlg <dlg@openbsd.org>2006-11-02 23:35:16 +0000
commita77ec51786883dabbf3f14f873381569d1a273df (patch)
treec84eed258dd4f64fea0a1bda6848e0ec0c12e553
parentpointers in hardware structures are stupid. shame on you vmware. (diff)
downloadwireguard-openbsd-a77ec51786883dabbf3f14f873381569d1a273df.tar.xz
wireguard-openbsd-a77ec51786883dabbf3f14f873381569d1a273df.zip
dont set tx_stopped when we actually want to do tx.
-rw-r--r--sys/dev/pci/if_vic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 6405dde224e..ef14dd28a0f 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.28 2006/11/02 23:32:16 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.29 2006/11/02 23:35:16 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -997,7 +997,6 @@ vic_start(struct ifnet *ifp)
ifp->if_opackets++;
sc->sc_txpending++;
- sc->sc_data->vd_tx_stopped = 1;
VIC_INC(sc->sc_data->vd_tx_nextidx, sc->sc_data->vd_tx_length);
tx = 1;