Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/hub.c

    rfab2746 r7f9d97f3  
    151151 * @retval EADDRNOTAVAIL Failed retrieving free address from host controller.
    152152 * @retval EBUSY Failed reserving default USB address.
    153  * @retval ENXIO Problem connecting to the host controller via USB pipe.
     153 * @retval ENOTCONN Problem connecting to the host controller via USB pipe.
    154154 * @retval ESTALL Problem communication with device (either SET_ADDRESS
    155155 *      request or requests for descriptors when creating match ids).
     
    184184            &dev_conn, hc_conn, USB_ADDRESS_DEFAULT);
    185185        if (rc != EOK) {
    186                 rc = ENXIO;
     186                rc = ENOTCONN;
    187187                goto leave_release_free_address;
    188188        }
     
    192192        rc = usb_pipe_initialize_default_control(&ctrl_pipe, &dev_conn);
    193193        if (rc != EOK) {
    194                 rc = ENXIO;
     194                rc = ENOTCONN;
    195195                goto leave_release_free_address;
    196196        }
     
    217217        rc = usb_pipe_register(&ctrl_pipe, 0);
    218218        if (rc != EOK) {
    219                 rc = ENXIO;
     219                rc = ENOTCONN;
    220220                goto leave_release_default_address;
    221221        }
     
    278278        if (rc != EOK) {
    279279                /* The child function is already created. */
    280                 rc = EIO;
     280                rc = EDESTADDRREQ;
    281281                goto leave_release_free_address;
    282282        }
Note: See TracChangeset for help on using the changeset viewer.