diff options
author | 2019-11-19 06:34:10 +0000 | |
---|---|---|
committer | 2019-11-19 06:34:10 +0000 | |
commit | c66c1de82b5741730a7f0dd72bc82182b9f8e236 (patch) | |
tree | c181af7a39579d60119355027b7c8ab1ed971348 | |
parent | Don't assign ifp twice in the re_txeof(). (diff) | |
download | wireguard-openbsd-c66c1de82b5741730a7f0dd72bc82182b9f8e236.tar.xz wireguard-openbsd-c66c1de82b5741730a7f0dd72bc82182b9f8e236.zip |
Set isr to the correct value (sc->rl_intrs).
ok deraadt@
-rw-r--r-- | sys/dev/ic/re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index ae9494d56c2..05e37edecc7 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.203 2019/11/19 06:32:46 kevlo Exp $ */ +/* $OpenBSD: re.c,v 1.204 2019/11/19 06:34:10 kevlo Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -1953,7 +1953,7 @@ re_init(struct ifnet *ifp) * Enable interrupts. */ re_setup_intr(sc, 1, sc->rl_imtype); - CSR_WRITE_2(sc, RL_ISR, sc->rl_imtype); + CSR_WRITE_2(sc, RL_ISR, sc->rl_intrs); /* Start RX/TX process. */ CSR_WRITE_4(sc, RL_MISSEDPKT, 0); |