diff options
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r-- | drivers/net/qla3xxx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 4c610511eb40..e3e6bc917c87 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -1969,8 +1969,8 @@ static void ql_update_lrg_bufq_prod_index(struct ql3_adapter *qdev) | |||
1969 | struct ql_rcv_buf_cb *lrg_buf_cb; | 1969 | struct ql_rcv_buf_cb *lrg_buf_cb; |
1970 | struct ql3xxx_port_registers __iomem *port_regs = qdev->mem_map_registers; | 1970 | struct ql3xxx_port_registers __iomem *port_regs = qdev->mem_map_registers; |
1971 | 1971 | ||
1972 | if ((qdev->lrg_buf_free_count >= 8) | 1972 | if ((qdev->lrg_buf_free_count >= 8) && |
1973 | && (qdev->lrg_buf_release_cnt >= 16)) { | 1973 | (qdev->lrg_buf_release_cnt >= 16)) { |
1974 | 1974 | ||
1975 | if (qdev->lrg_buf_skb_check) | 1975 | if (qdev->lrg_buf_skb_check) |
1976 | if (!ql_populate_free_queue(qdev)) | 1976 | if (!ql_populate_free_queue(qdev)) |
@@ -1978,8 +1978,8 @@ static void ql_update_lrg_bufq_prod_index(struct ql3_adapter *qdev) | |||
1978 | 1978 | ||
1979 | lrg_buf_q_ele = qdev->lrg_buf_next_free; | 1979 | lrg_buf_q_ele = qdev->lrg_buf_next_free; |
1980 | 1980 | ||
1981 | while ((qdev->lrg_buf_release_cnt >= 16) | 1981 | while ((qdev->lrg_buf_release_cnt >= 16) && |
1982 | && (qdev->lrg_buf_free_count >= 8)) { | 1982 | (qdev->lrg_buf_free_count >= 8)) { |
1983 | 1983 | ||
1984 | for (i = 0; i < 8; i++) { | 1984 | for (i = 0; i < 8; i++) { |
1985 | lrg_buf_cb = | 1985 | lrg_buf_cb = |