Fix build breakage introduced in r212972.

This commit is contained in:
Pyun YongHyeon 2010-09-22 16:48:24 +00:00
parent 7494ee9b63
commit 4a4dd474db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213000

View File

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