Fix build breakage introduced in r212972.
This commit is contained in:
parent
7494ee9b63
commit
4a4dd474db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213000
@ -1944,13 +1944,11 @@ stge_poll(struct ifnet *ifp, enum poll_cmd cmd, int count)
|
||||
"Host interface error, resetting...\n");
|
||||
ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
|
||||
stge_init_locked(sc);
|
||||
break;
|
||||
}
|
||||
if ((status & IS_TxComplete) != 0) {
|
||||
if (stge_tx_error(sc) != 0) {
|
||||
ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
|
||||
stge_init_locked(sc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user