]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iwlwifi: rs: remove unneeded check of average tpt in window
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 2 Apr 2015 13:54:27 +0000 (16:54 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:12:49 +0000 (13:12 +0300)
commit0ab5dcee5e937c3c91ad5c1f53fe0fd18b9f9dd0
tree4f5aec670199e73ac1728c86e7b654ffe254f5a1
parentcc79ef661cc6f79eb8bdd6d526057b739014c95a
iwlwifi: rs: remove unneeded check of average tpt in window

Previously there was a check that compared window->average_tpt
to some value, and if it was different - it set it to that
value. However, this value was already calculated and set in
_rs_collect_tx_data(), so the entire check is unneeded.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c