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/ee5212a85413
branches:  trunk
changeset: 360545:ee5212a85413
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 d8020eef0337 -r ee5212a85413 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