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/f0af88d7dca7
branches:  trunk
changeset: 370397:f0af88d7dca7
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 394a86d2c696 -r f0af88d7dca7 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