mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not reinitialize controller if it's already running.
This commit is contained in:
parent
675c1ae83d
commit
0369b60472
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue