Changeset 9370884 in mainline for uspace/drv/usbhub/usbhub.c


Ignore:
Timestamp:
2011-03-14T21:22:52Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
15d3b54, a963a68
Parents:
ff34e5a (diff), c69209d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Development branch changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.c

    rff34e5a r9370884  
    118118                dprintf(USB_LOG_LEVEL_ERROR,
    119119                                "could not initialize connection to device endpoint, errno %d",opResult);
    120         }
    121         return opResult;
     120                return opResult;
     121        }
     122
     123        opResult = usb_endpoint_pipe_probe_default_control(&hub->endpoints.control);
     124        if (opResult != EOK) {
     125                dprintf(USB_LOG_LEVEL_ERROR, "failed probing endpoint 0, %d", opResult);
     126                return opResult;
     127        }
     128
     129        return EOK;
    122130}
    123131
     
    430438                        &new_device_pipe,
    431439                        &new_device_connection);
     440        usb_endpoint_pipe_probe_default_control(&new_device_pipe);
    432441        /// \TODO get highspeed info
    433442        usb_speed_t speed = isLowSpeed?USB_SPEED_LOW:USB_SPEED_FULL;
Note: See TracChangeset for help on using the changeset viewer.