iwlwifi: mvm: rs: clear per rate stats when aggregation changes
authorEyal Shapira <eyal@wizery.com>
Sun, 6 Apr 2014 01:27:06 +0000 (04:27 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Apr 2014 13:51:06 +0000 (16:51 +0300)
commitb804eeb6649d75caeccbeae9f5623fc7b8bdfdfa
tree53fae3b53e5ab4c5d8ea43031fb5f634200413ac
parentd8fff919ecd7820084675c2814913445e95640ac
iwlwifi: mvm: rs: clear per rate stats when aggregation changes

The per rate stats should be cleared when aggregation state changes
to avoid making rate scale decisions based on throughput figures which
were collected prior to the aggregation state change and are now stale.
While at it make sure any clearing of the per rate stats will get logged.

Cc: <stable@vger.kernel.org> [3.14]
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c