diff options
Diffstat (limited to 'net/mac80211/rc80211_pid_algo.c')
-rw-r--r-- | net/mac80211/rc80211_pid_algo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c index da8462bbd5f4..9762803e4876 100644 --- a/net/mac80211/rc80211_pid_algo.c +++ b/net/mac80211/rc80211_pid_algo.c | |||
@@ -280,9 +280,6 @@ static void rate_control_pid_tx_status(void *priv, struct net_device *dev, | |||
280 | sta->tx_num_consecutive_failures++; | 280 | sta->tx_num_consecutive_failures++; |
281 | sta->tx_num_mpdu_fail++; | 281 | sta->tx_num_mpdu_fail++; |
282 | } else { | 282 | } else { |
283 | sta->last_ack_rssi[0] = sta->last_ack_rssi[1]; | ||
284 | sta->last_ack_rssi[1] = sta->last_ack_rssi[2]; | ||
285 | sta->last_ack_rssi[2] = status->ack_signal; | ||
286 | sta->tx_num_consecutive_failures = 0; | 283 | sta->tx_num_consecutive_failures = 0; |
287 | sta->tx_num_mpdu_ok++; | 284 | sta->tx_num_mpdu_ok++; |
288 | } | 285 | } |