Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb Fix typo.



details:   https://anonhg.NetBSD.org/src-all/rev/2b73912852c8
branches:  trunk
changeset: 369330:2b73912852c8
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Fri Jan 07 00:49:26 2022 +1100

description:
Fix typo.

diffstat:

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

diffs (12 lines):

diff -r c137459967e8 -r 2b73912852c8 sys/dev/usb/usbwifi.c
--- a/sys/dev/usb/usbwifi.c     Thu Jan 06 02:33:29 2022 +1100
+++ b/sys/dev/usb/usbwifi.c     Fri Jan 07 00:49:26 2022 +1100
@@ -623,7 +623,7 @@
        if (cd->uwcd_rx_chains[0].uwscd_chain == NULL)
                return; /* incomplete init */
 
-       for (size_t i = 0; i < uw->uw_rxpipes; i++) {
+       for (size_t i = 0; i < uw->uw_txpipes; i++) {
                for (size_t j = 0; j < uw->uw_tx_list_cnt; j++) {
                        struct usbwifi_chain *c =
                            &cd->uwcd_tx_chains[i].uwscd_chain[j];



Home | Main Index | Thread Index | Old Index