Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Make arg of IFQ_SET_READY be &ifp->if_snd, to mat...



details:   https://anonhg.NetBSD.org/src/rev/cd78a6677b63
branches:  trunk
changeset: 584526:cd78a6677b63
user:      gdt <gdt%NetBSD.org@localhost>
date:      Thu Sep 22 16:15:20 2005 +0000

description:
Make arg of IFQ_SET_READY be &ifp->if_snd, to match all other drivers
and be compilable with altq enabled.  Reviewed by dyoung@

diffstat:

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

diffs (27 lines):

diff -r f329d3353086 -r cd78a6677b63 sys/dev/ic/rtw.c
--- a/sys/dev/ic/rtw.c  Thu Sep 22 15:47:03 2005 +0000
+++ b/sys/dev/ic/rtw.c  Thu Sep 22 16:15:20 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtw.c,v 1.55 2005/09/07 05:25:41 dogcow Exp $ */
+/* $NetBSD: rtw.c,v 1.56 2005/09/22 16:15:20 gdt Exp $ */
 /*-
  * Copyright (c) 2004, 2005 David Young.  All rights reserved.
  *
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.55 2005/09/07 05:25:41 dogcow Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.56 2005/09/22 16:15:20 gdt Exp $");
 
 #include "bpfilter.h"
 
@@ -4044,7 +4044,7 @@
 
        rtw_setifprops(ifp, sc->sc_dev.dv_xname, (void*)sc);
 
-       IFQ_SET_READY(ifp->if_snd);
+       IFQ_SET_READY(&ifp->if_snd);
 
        sc->sc_ic.ic_ifp = ifp;
        rtw_set80211props(&sc->sc_ic);



Home | Main Index | Thread Index | Old Index