]> Pileus Git - ~andy/linux/blobdiff - net/rds/iw_recv.c
Merge git://git.infradead.org/mtd-2.6
[~andy/linux] / net / rds / iw_recv.c
index fde470fa50d5457c72226d0336e00aeed8df534d..8683f5f66c4b2931583b84e1f40daeeecaf2e64b 100644 (file)
@@ -524,7 +524,7 @@ void rds_iw_attempt_ack(struct rds_iw_connection *ic)
        }
 
        /* Can we get a send credit? */
-       if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0)) {
+       if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) {
                rds_iw_stats_inc(s_iw_tx_throttle);
                clear_bit(IB_ACK_IN_FLIGHT, &ic->i_ack_flags);
                return;