iwlagn: only perform necessary calibration at init time
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 6 Sep 2011 16:31:16 +0000 (09:31 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:34 +0000 (13:56 -0400)
During init time, only the necessary calibration should be performed. This
not only save time, also avoid uCode crash because lack of necessary information.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-commands.h

index cb06196e0e8034cd7563e173c5d3a2962f9d7854..82bfef4730d50f9dadb33d3324287f79b6f1a70e 100644 (file)
@@ -3213,12 +3213,7 @@ enum iwl_ucode_calib_cfg {
                                        IWL_CALIB_CFG_LO_IDX |          \
                                        IWL_CALIB_CFG_TX_IQ_IDX |       \
                                        IWL_CALIB_CFG_RX_IQ_IDX |       \
-                                       IWL_CALIB_CFG_NOISE_IDX |       \
-                                       IWL_CALIB_CFG_CRYSTAL_IDX |     \
-                                       IWL_CALIB_CFG_TEMPERATURE_IDX | \
-                                       IWL_CALIB_CFG_PAPD_IDX |        \
-                                       IWL_CALIB_CFG_SENSITIVITY_IDX | \
-                                       IWL_CALIB_CFG_TX_PWR_IDX)
+                                       IWL_CALIB_CFG_CRYSTAL_IDX)
 
 #define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK      cpu_to_le32(BIT(0))