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/732e0c4e59be
branches:  trunk
changeset: 988460:732e0c4e59be
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 9cb4b31ca8dc -r 732e0c4e59be 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