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/5a2bdfe9d392
branches:  trunk
changeset: 1026970:5a2bdfe9d392
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 db26d5e49f86 -r 5a2bdfe9d392 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