Changeset 6d5d3ae2 in mainline


Ignore:
Timestamp:
2018-01-21T00:20:51Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b310cff4
Parents:
217e981
Message:

debug: fix off-by-one copypaste error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/debug.c

    r217e981 r6d5d3ae2  
    404404                    || XHCI_INPUT_CTRL_CTX_ADD(*ctrl_ctx, dci)) {
    405405                        usb_log_debug("Endpoint context DCI %u:", dci);
    406                         xhci_ep_ctx_t *ep_ctx = XHCI_GET_EP_CTX(device_ctx, hc, dci - 1);
     406                        xhci_ep_ctx_t *ep_ctx = XHCI_GET_EP_CTX(device_ctx, hc, dci);
    407407                        xhci_dump_endpoint_ctx(ep_ctx);
    408408                }
Note: See TracChangeset for help on using the changeset viewer.