Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/dev/pci Initialize sendq with proper default



details:   https://anonhg.NetBSD.org/src-all/rev/e64eb31768bd
branches:  trunk
changeset: 375073:e64eb31768bd
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sun Sep 27 16:21:43 2020 +0200

description:
Initialize sendq with proper default

diffstat:

 sys/dev/pci/if_rtwn.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cd18d1410be5 -r e64eb31768bd sys/dev/pci/if_rtwn.c
--- a/sys/dev/pci/if_rtwn.c     Sun Sep 27 15:32:30 2020 +0200
+++ b/sys/dev/pci/if_rtwn.c     Sun Sep 27 16:21:43 2020 +0200
@@ -339,7 +339,7 @@ rtwn_attach(device_t parent, device_t se
        ic->ic_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 
        /* init radio send queue */
-       sc->sc_sendq.ifq_maxlen = 32;
+       sc->sc_sendq.ifq_maxlen = ifqmaxlen;
        IFQ_LOCK_INIT(&sc->sc_sendq);
 
        /*



Home | Main Index | Thread Index | Old Index