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 Use the first vap's sendq to hold packets.



details:   https://anonhg.NetBSD.org/src-all/rev/19bce41aed75
branches:  trunk
changeset: 365678:19bce41aed75
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue Mar 08 04:40:05 2022 +1100

description:
Use the first vap's sendq to hold packets.

XXX I'm unsure whether to define a softc sendq.

diffstat:

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

diffs (12 lines):

diff -r ea75baa8f0d5 -r 19bce41aed75 sys/dev/pci/if_ipw.c
--- a/sys/dev/pci/if_ipw.c      Tue Mar 08 04:29:50 2022 +1100
+++ b/sys/dev/pci/if_ipw.c      Tue Mar 08 04:40:05 2022 +1100
@@ -1639,7 +1639,7 @@
 static void
 ipw_start(struct ipw_softc *sc)
 {
-       struct ieee80211vap *vap;
+       struct ieee80211vap *vap = TAILQ_FIRST(&sc->sc_ic.ic_vaps);
        struct mbuf *m0;
        struct ieee80211_node *ni;
 



Home | Main Index | Thread Index | Old Index