iwlwifi: add rs_rate_scale_clear_tbl_windows helper function

commit 3ca71f603b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Eliad Peller 2014-06-04 21:58:00 +03:00 • committed by Greg Kroah-Hartman
commit 424048eb3f