Do not reinitialise the interface if it is already running, this prevents the
bootp+nfs code from working as it calls init on each dhcp send and rx fails to start in time.
This commit is contained in:
parent
ac6af58f22
commit
afceeed703
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235147
@ -358,6 +358,9 @@ tsec_init_locked(struct tsec_softc *sc)
|
||||
struct ifnet *ifp = sc->tsec_ifp;
|
||||
uint32_t timeout, val, i;
|
||||
|
||||
if (ifp->if_drv_flags & IFF_DRV_RUNNING)
|
||||
return;
|
||||
|
||||
TSEC_GLOBAL_LOCK_ASSERT(sc);
|
||||
tsec_stop(sc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user