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/8e3f0df67038
branches:  trunk
changeset: 375189:8e3f0df67038
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 60ec04ec6b0a -r 8e3f0df67038 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 @@ usbwifi_tx_list_fini(struct usbwifi * co
        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