mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix a bug introduced in r295736
TX descriptor address should be updated for valid chain. Pointed out by: jmallett
This commit is contained in:
parent
0386a98bd0
commit
4a1ff07b39
1 changed files with 2 additions and 1 deletions
|
|
@ -1945,8 +1945,9 @@ rl_stop(struct rl_softc *sc)
|
|||
sc->rl_cdata.rl_tx_dmamap[i]);
|
||||
m_freem(sc->rl_cdata.rl_tx_chain[i]);
|
||||
sc->rl_cdata.rl_tx_chain[i] = NULL;
|
||||
CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(uint32_t)),
|
||||
0x0000000);
|
||||
}
|
||||
CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(uint32_t)), 0x0000000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue