From 96c96899fd21f6f808405d2eaddbc70d4cb2ada4 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 12 Sep 2015 19:18:24 +0000 Subject: Add missing splx() found by brainy. --- sys/dev/ic/seeq8005.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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 */ -- cgit