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/930692246788
branches:  trunk
changeset: 939280:930692246788
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 4f59499b6331 -r 930692246788 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