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 Initialize ridx.



details:   https://anonhg.NetBSD.org/src-all/rev/1443f98fb001
branches:  trunk
changeset: 361823:1443f98fb001
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 24 12:50:31 2020 +1000

description:
Initialize ridx.

diffstat:

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

diffs (11 lines):

diff -r 95574b78f2af -r 1443f98fb001 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 24 12:48:42 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 24 12:50:31 2020 +1000
@@ -4636,6 +4636,7 @@
        tx->rts_retry_limit = IWM_RTS_DFAULT_RETRY_LIMIT;
        tx->data_retry_limit = IWM_DEFAULT_TX_RETRY;
 
+       ridx = sc->sc_fixed_ridx;
        if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
            type != IEEE80211_FC0_TYPE_DATA) {
                /* for non-data, use the lowest supported rate */



Home | Main Index | Thread Index | Old Index