Do not attempt to refill the TX fifo if there is no data left to transfer.
A comment in bcm_bsc_fill_tx_fifo() even lists sc_totlen > 0 as a precondition for calling the routine. I apparently forgot to make the code do what my comment said.
This commit is contained in:
parent
ae99239461
commit
b5496277c7
@ -508,7 +508,7 @@ bcm_bsc_intr(void *arg)
|
||||
* transfer is complete; TXD will be asserted along with ERR or
|
||||
* DONE if there is room in the fifo.
|
||||
*/
|
||||
if (status & BCM_BSC_STATUS_TXD)
|
||||
if ((status & BCM_BSC_STATUS_TXD) && sc->sc_totlen > 0)
|
||||
bcm_bsc_fill_tx_fifo(sc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user