diff options
Diffstat (limited to 'sys/pci/if_sis.c')
-rw-r--r-- | sys/pci/if_sis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index daeb06c..c43a4cb 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -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]; |