Fix an instance of FOO_RX_LIST_CNT that should have been FOO_TX_LIST_CNT.

This commit is contained in:
Bill Paul 1999-09-06 23:29:50 +00:00
parent 6fb4dca474
commit 3b0ecb8e18
2 changed files with 2 additions and 2 deletions

View File

@ -1350,7 +1350,7 @@ static int dm_encap(sc, m_head, txidx)
for (m = m_new; m != NULL; m = m->m_next) {
if (m->m_len != 0) {
if ((DM_RX_LIST_CNT -
if ((DM_TX_LIST_CNT -
(sc->dm_cdata.dm_tx_cnt + cnt)) < 2)
return(ENOBUFS);
f = &sc->dm_ldata->dm_tx_list[frag];

View File

@ -1105,7 +1105,7 @@ static int sis_encap(sc, m_head, txidx)
for (m = m_head; m != NULL; m = m->m_next) {
if (m->m_len != 0) {
if ((SIS_RX_LIST_CNT -
if ((SIS_TX_LIST_CNT -
(sc->sis_cdata.sis_tx_cnt + cnt)) < 2)
return(ENOBUFS);
f = &sc->sis_ldata->sis_tx_list[frag];