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/cb727a16832a
branches:  trunk
changeset: 942332:cb727a16832a
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 100165e7bdfe -r cb727a16832a 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