diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-11 02:22:58 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:24 -0400 |
commit | b7e35008815a1c39123f4dd53b430788e2e18da4 (patch) | |
tree | a071c5d2c1224eed68a3684b6367155b1eccfebf /net/mac80211/rc80211_pid_algo.c | |
parent | 95dac040041723d0c0ab245642c1b9802f12cc8d (diff) | |
download | blackbird-op-linux-b7e35008815a1c39123f4dd53b430788e2e18da4.tar.gz blackbird-op-linux-b7e35008815a1c39123f4dd53b430788e2e18da4.zip |
mac80211: move last_txrate_idx into RC algorithms
This variable in sta_info is only used in a meaningful way
by the Intel RC algorithms, so move it into those.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_pid_algo.c')
-rw-r--r-- | net/mac80211/rc80211_pid_algo.c | 2 |
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, if (rateidx >= sband->n_bitrates) rateidx = sband->n_bitrates - 1; - sta->last_txrate_idx = rateidx; - rcu_read_unlock(); sel->rate_idx = rateidx; |