]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/rc80211_pid_algo.c
mac80211: move last_txrate_idx into RC algorithms
[linux-2.6-omap-h63xx.git] / net / mac80211 / rc80211_pid_algo.c
index 94867860c3e0de09a15f342437bd0580e55330cb..24e44f52130217a7837304c9d89861fe1d150a5a 100644 (file)
@@ -329,8 +329,6 @@ static void rate_control_pid_get_rate(void *priv, struct net_device *dev,
        if (rateidx >= sband->n_bitrates)
                rateidx = sband->n_bitrates - 1;
 
-       sta->last_txrate_idx = rateidx;
-
        rcu_read_unlock();
 
        sel->rate_idx = rateidx;