]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/rate.c
Merge branch 'work.misc-set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / net / mac80211 / rate.c
index ea1f4315c521be976c822918d7d821cffd3cc0e9..76f303fda3edaf15a98b4d159a6b455e1e8fbfc5 100644 (file)
@@ -943,6 +943,8 @@ int rate_control_set_rates(struct ieee80211_hw *hw,
 
        drv_sta_rate_tbl_update(hw_to_local(hw), sta->sdata, pubsta);
 
+       ieee80211_sta_set_expected_throughput(pubsta, sta_get_expected_throughput(sta));
+
        return 0;
 }
 EXPORT_SYMBOL(rate_control_set_rates);
@@ -991,4 +993,3 @@ void rate_control_deinitialize(struct ieee80211_local *local)
        local->rate_ctrl = NULL;
        rate_control_free(local, ref);
 }
-