info = IEEE80211_SKB_CB(skb);
 
        ieee80211_tx_info_clear_status(info);
-       for (i = 0; i < 4; i++) {
+       for (i = 0; i <= ts->ts_final_idx; i++) {
                struct ieee80211_tx_rate *r =
                        &info->status.rates[i];
 
-               if (ts->ts_rate[i]) {
-                       r->idx = ath5k_hw_to_driver_rix(sc, ts->ts_rate[i]);
-                       r->count = ts->ts_retry[i];
-               } else {
-                       r->idx = -1;
-                       r->count = 0;
-               }
+               r->count = ts->ts_retry[i];
        }
 
-       /* count the successful attempt as well */
-       info->status.rates[ts->ts_final_idx].count++;
+       info->status.rates[ts->ts_final_idx + 1].idx = -1;
 
        if (unlikely(ts->ts_status)) {
                sc->stats.ack_fail++;
        } else {
                info->flags |= IEEE80211_TX_STAT_ACK;
                info->status.ack_signal = ts->ts_rssi;
+
+               /* count the successful attempt as well */
+               info->status.rates[ts->ts_final_idx].count++;
        }
 
        /*