|
@@ -2049,16 +2049,12 @@ void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo)
|
|
|
{
|
|
|
struct ieee80211_sub_if_data *sdata = sta->sdata;
|
|
|
struct ieee80211_local *local = sdata->local;
|
|
|
- struct rate_control_ref *ref = NULL;
|
|
|
u32 thr = 0;
|
|
|
int i, ac, cpu;
|
|
|
struct ieee80211_sta_rx_stats *last_rxstats;
|
|
|
|
|
|
last_rxstats = sta_get_last_rx_stats(sta);
|
|
|
|
|
|
- if (test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
|
|
|
- ref = local->rate_ctrl;
|
|
|
-
|
|
|
sinfo->generation = sdata->local->sta_generation;
|
|
|
|
|
|
/* do before driver, so beacon filtering drivers have a
|