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/b347fee16caf
branches:  trunk
changeset: 377084:b347fee16caf
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 6d69885a6070 -r b347fee16caf 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 @@ ipw_raw_xmit(struct ieee80211_node *ni, 
 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