Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci fix r1.409 mistake



details:   https://anonhg.NetBSD.org/src/rev/509a2897543d
branches:  trunk
changeset: 345476:509a2897543d
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon May 30 03:54:12 2016 +0000

description:
fix r1.409 mistake

diffstat:

 sys/dev/pci/if_wm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 587a7805b74d -r 509a2897543d sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Mon May 30 03:11:48 2016 +0000
+++ b/sys/dev/pci/if_wm.c       Mon May 30 03:54:12 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.410 2016/05/23 23:36:02 knakahara Exp $    */
+/*     $NetBSD: if_wm.c,v 1.411 2016/05/30 03:54:12 knakahara Exp $    */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.410 2016/05/23 23:36:02 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.411 2016/05/30 03:54:12 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -6996,7 +6996,7 @@
        if ((sc->sc_flags & WM_F_NEWQUEUE) != 0)
                txq->txq_flags &= ~WM_TXQ_NO_SPACE;
        else
-               sc->sc_flags &= ~IFF_OACTIVE;
+               ifp->if_flags &= ~IFF_OACTIVE;
 
        /*
         * Go through the Tx list and free mbufs for those



Home | Main Index | Thread Index | Old Index