Do not reinitialize controller if it's already running.

This commit is contained in:
Pyun YongHyeon 2010-11-28 01:00:39 +00:00
parent 675c1ae83d
commit 0369b60472

View file

@ -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);