]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix clear statistics counter command
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 15 Jan 2010 21:43:33 +0000 (13:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jan 2010 21:25:08 +0000 (16:25 -0500)
commit158eb85a7c647aafe28117e0b2f1d9f53b106871
tree83d7eeb61a0589513907fc5d328f8215988607b3
parent67ba98d21b363271c52c4d6c1e86ad9ff3fee248
iwlwifi: fix clear statistics counter command

When receive reply statistics command with "clear" mask, just reset the
accumulated statistics counters, but not the current statistics counters,
so the accumulated statistics counter can provide the correct
information.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-rx.c