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/437e8df59692
branches:  trunk
changeset: 362771:437e8df59692
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 21:40:04 2020 +1000

description:
Fix iv_bss naming botch.

diffstat:

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

diffs (12 lines):

diff -r 6641450deb1b -r 437e8df59692 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 21:37:14 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 21:40:04 2020 +1000
@@ -6107,7 +6107,7 @@
            || ic->ic_fixed_mcs == -1
 #endif
            ) &&
-           ic->ic_opmode == IEEE80211_M_STA && iv->iv_bss) {
+           ic->ic_opmode == IEEE80211_M_STA && vap->iv_bss) {
 #ifndef IEEE80211_NO_HT
                if (ni->ni_flags & IEEE80211_NODE_HT)
                        otxrate = ni->ni_txmcs;



Home | Main Index | Thread Index | Old Index