[BACK]Return to if_urndis.c CVS log [TXT][DIR] 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.

Diff for /src/sys/dev/usb/if_urndis.c between version 1.39 and 1.40

version 1.39, 2020/03/15 23:04:51 version 1.40, 2022/03/03 05:50:22
Line 883  static int
Line 883  static int
 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

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

CVSweb <webmaster@jp.NetBSD.org>