summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-09-12 19:18:24 +0000
committerchristos <christos@NetBSD.org>2015-09-12 19:18:24 +0000
commit96c96899fd21f6f808405d2eaddbc70d4cb2ada4 (patch)
treed63b05a15ceb1934e5d94372c7203d08c9c50263 /sys/dev/ic
parent7c0971f01b4a168971b2e0eff1a983bef5f77601 (diff)
Add missing splx() found by brainy.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/seeq8005.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ic/seeq8005.c b/sys/dev/ic/seeq8005.c
index 2635f9b93fc..917658ff592 100644
--- a/sys/dev/ic/seeq8005.c
+++ b/sys/dev/ic/seeq8005.c
@@ -1,4 +1,4 @@
-/* $NetBSD: seeq8005.c,v 1.53 2015/04/13 16:33:24 riastradh Exp $ */
+/* $NetBSD: seeq8005.c,v 1.54 2015/09/12 19:18:24 christos Exp $ */
/*
* Copyright (c) 2000, 2001 Ben Harris
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: seeq8005.c,v 1.53 2015/04/13 16:33:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: seeq8005.c,v 1.54 2015/09/12 19:18:24 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -875,8 +875,10 @@ ea_start(struct ifnet *ifp)
* us (actually ea_txpacket()) back when the card's ready for more
* frames.
*/
- if (ifp->if_flags & IFF_OACTIVE)
+ if (ifp->if_flags & IFF_OACTIVE) {
+ splx(s);
return;
+ }
/* Mark interface as output active */