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/e66ec4af7ed7
branches:  trunk
changeset: 360949:e66ec4af7ed7
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 739e685518d9 -r e66ec4af7ed7 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