Author: yongari Date: Sun Nov 28 01:00:39 2010 New Revision: 215963 URL: http://svn.freebsd.org/changeset/base/215963
Log: Do not reinitialize controller if it's already running. Modified: head/sys/dev/usb/net/if_axe.c Modified: head/sys/dev/usb/net/if_axe.c ============================================================================== --- head/sys/dev/usb/net/if_axe.c Sun Nov 28 00:57:48 2010 (r215962) +++ head/sys/dev/usb/net/if_axe.c Sun Nov 28 01:00:39 2010 (r215963) @@ -1019,6 +1019,9 @@ axe_init(struct usb_ether *ue) AXE_LOCK_ASSERT(sc, MA_OWNED); + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + return; + /* Cancel pending I/O */ axe_stop(ue); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"