diff options
author | 2001-05-29 01:01:51 +0000 | |
---|---|---|
committer | 2001-05-29 01:01:51 +0000 | |
commit | 1f1d9464694c2f6d32bd4005ba11dd240e5bf7e3 (patch) | |
tree | 833c9733a7daa44f76c620b855981fa4dfa54c41 | |
parent | remove some lines, simplify. (diff) | |
download | wireguard-openbsd-1f1d9464694c2f6d32bd4005ba11dd240e5bf7e3.tar.xz wireguard-openbsd-1f1d9464694c2f6d32bd4005ba11dd240e5bf7e3.zip |
Set, don't OR the capabilities.
-rw-r--r-- | sys/dev/pci/if_txp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c index e67509e7617..949e08ecad8 100644 --- a/sys/dev/pci/if_txp.c +++ b/sys/dev/pci/if_txp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_txp.c,v 1.34 2001/05/28 10:32:23 angelos Exp $ */ +/* $OpenBSD: if_txp.c,v 1.35 2001/05/29 01:01:51 angelos Exp $ */ /* * Copyright (c) 2001 @@ -276,7 +276,7 @@ txp_attach(parent, self, aux) ifp->if_watchdog = txp_watchdog; ifp->if_baudrate = 10000000; ifp->if_snd.ifq_maxlen = TX_ENTRIES; - ifp->if_capabilities |= IFCAP_IPSEC; + ifp->if_capabilities = IFCAP_IPSEC; bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ); timeout_set(&sc->sc_tick, txp_tick, sc); |