Save the value read from TX queue CSR, so we don't test against a
stale one. Submitted by: sephe
This commit is contained in:
parent
6902009e2a
commit
e48163252e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185244
@ -3966,7 +3966,7 @@ msk_stop(struct msk_if_softc *sc_if)
|
||||
if ((val & (BMU_STOP | BMU_IDLE)) == 0) {
|
||||
CSR_WRITE_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR),
|
||||
BMU_STOP);
|
||||
CSR_READ_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR));
|
||||
val = CSR_READ_4(sc, Q_ADDR(sc_if->msk_txq, Q_CSR));
|
||||
} else
|
||||
break;
|
||||
DELAY(1);
|
||||
|
Loading…
Reference in New Issue
Block a user