aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_pid_algo.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rc80211_pid_algo.c')
-rw-r--r--net/mac80211/rc80211_pid_algo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c
index 94867860c3e0..24e44f521302 100644
--- a/net/mac80211/rc80211_pid_algo.c
+++ b/net/mac80211/rc80211_pid_algo.c
@@ -329,8 +329,6 @@ static void rate_control_pid_get_rate(void *priv, struct net_device *dev,
329 if (rateidx >= sband->n_bitrates) 329 if (rateidx >= sband->n_bitrates)
330 rateidx = sband->n_bitrates - 1; 330 rateidx = sband->n_bitrates - 1;
331 331
332 sta->last_txrate_idx = rateidx;
333
334 rcu_read_unlock(); 332 rcu_read_unlock();
335 333
336 sel->rate_idx = rateidx; 334 sel->rate_idx = rateidx;