usb_urb_ep_type_check
Prev | Chapter 5. USB Core APIs | Next

## Name

usb_urb_ep_type_check — sanity check of endpoint in the given urb

## Synopsis

`int usb_urb_ep_type_check (` | const struct urb * urb`)`;

## Arguments

`urb`

  urb to be checked

## Description

This performs a light-weight sanity check for the endpoint in the given urb. It returns 0 if the urb contains a valid endpoint, otherwise a negative error code.

Prev | Up | Next
usb_unanchor_urb | Home | usb_submit_urb