Name

geth_bind_config — add CDC Subset network link to a configuration

Synopsis

int geth_bind_config (struct usb_configuration * c,
 u8 ethaddr[ETH_ALEN]);
 

Arguments

c

the configuration to support the network link

ethaddr[ETH_ALEN]

a buffer in which the ethernet address of the host side side of the link was recorded

Context

single threaded during gadget setup

Description

Returns zero on success, else negative errno.

Caller must have called gether_setup(). Caller is also responsible for calling gether_cleanup() before module unload.