iwlwifi: add rs_rate_scale_clear_tbl_windows helper function
authorEliad Peller <eliad@wizery.com>
Mon, 10 Mar 2014 14:33:43 +0000 (16:33 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Mar 2014 06:58:44 +0000 (08:58 +0200)
commit3ca71f603bb1a0f55e1ba24618ba45617bc36f70
tree3f0f6ba7462342bf11e1fcb4dac38df90f3a8754
parent0bd3c5a7abb1a4d280c9a209ac3ee17d67b60acb
iwlwifi: add rs_rate_scale_clear_tbl_windows helper function

instead of duplicating the same loop multiple times,
use a new function for it.

this will be later used also for clearing other
windows in the table.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c