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 Fix iv_bss naming botch.



details:   https://anonhg.NetBSD.org/src-all/rev/b07ad3f489c5
branches:  trunk
changeset: 370927:b07ad3f489c5
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 22:15:30 2020 +1000

description:
Fix iv_bss naming botch.

diffstat:

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

diffs (13 lines):

diff -r 30f14ea4ddbf -r b07ad3f489c5 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 22:13:24 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 22:15:30 2020 +1000
@@ -6860,7 +6860,8 @@
 iwm_allow_mcast(struct iwm_softc *sc)
 {
        struct ieee80211com *ic = &sc->sc_ic;
-       struct ieee80211_node *ni = iv->iv_bss;
+       struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
+       struct ieee80211_node *ni = vap->iv_bss;
        struct iwm_mcast_filter_cmd *cmd;
        size_t size;
        int err;



Home | Main Index | Thread Index | Old Index