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/58694fc54c2c
branches: trunk
changeset: 376880:58694fc54c2c
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 e1915e32daf2 -r 58694fc54c2c 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 @@ static int
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