Fix editor fatfingering in rev 1.9.
This commit is contained in:
parent
4a1a15b72c
commit
7eea3cb1f9
@ -447,10 +447,10 @@ nfe_detach(device_t dev)
|
||||
nfe_set_macaddr(sc, eaddr);
|
||||
|
||||
if (device_is_attached(dev)) {
|
||||
NFE_LOCK(sc)
|
||||
NFE_LOCK(sc);
|
||||
nfe_stop(ifp, 1);
|
||||
ifp->if_flags &= ~IFF_UP;
|
||||
NFE_UNLOCK(sc)
|
||||
NFE_UNLOCK(sc);
|
||||
callout_drain(&sc->nfe_stat_ch);
|
||||
ether_ifdetach(ifp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user