Return to if_urndis.c CVS log | Up to [cvs.NetBSD.org] / src / sys / dev / usb |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.39, 2020/03/15 23:04:51 | version 1.40, 2022/03/03 05:50:22 | ||
---|---|---|---|
|
|
||
urndis_uno_init(struct ifnet *ifp) | urndis_uno_init(struct ifnet *ifp) | ||
{ | { | ||
struct usbnet *un = ifp->if_softc; | struct usbnet *un = ifp->if_softc; | ||
int error; | |||
return urndis_init_un(ifp, un); | KASSERT(IFNET_LOCKED(ifp)); | ||
usbnet_unlock_core(un); | |||
error = urndis_init_un(ifp, un); | |||
usbnet_lock_core(un); | |||
return error; | |||
} | } | ||
static int | static int |