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 Use vap instead of ic.



details:   https://anonhg.NetBSD.org/src-all/rev/4be36e6331e7
branches:  trunk
changeset: 949633:4be36e6331e7
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 24 12:40:09 2020 +1000

description:
Use vap instead of ic.

diffstat:

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

diffs (12 lines):

diff -r db8995d305d6 -r 4be36e6331e7 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 24 12:39:00 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 24 12:40:09 2020 +1000
@@ -4783,7 +4783,7 @@
 
        if (type == IEEE80211_FC0_TYPE_DATA &&
            !IEEE80211_IS_MULTICAST(wh->i_addr1) &&
-           (totlen + IEEE80211_CRC_LEN > ic->ic_rtsthreshold ||
+           (totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold ||
             (ic->ic_flags & IEEE80211_F_USEPROT)))
                flags |= IWM_TX_CMD_FLG_PROT_REQUIRE;
 



Home | Main Index | Thread Index | Old Index