iwlwifi: do not clear data after chain noise calib
authorShanyu Zhao <shanyu.zhao@intel.com>
Tue, 11 May 2010 22:25:03 +0000 (15:25 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Sun, 6 Jun 2010 06:15:07 +0000 (23:15 -0700)
commitf43084498b42c11054a8218b445ff6491c35bcdc
treedecf787bb17dc50d66db9c9be4fe92215aa52472
parent86cc652dfe57f365533cf2e64e08ff37a510d42e
iwlwifi: do not clear data after chain noise calib

Chain noise calibration data are cleared after the calibration is done
in iwlagn_gain_computation() and iwl4965_gain_computation(). This cause
the debugfs entries for those data useless. To provide valid debugging
info, clear those data right before starting the calibration instead.

Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c