summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWey-Yi Guy2010-09-03 20:42:04 +0200
committerWey-Yi Guy2010-09-11 17:52:11 +0200
commit8f1d968721f9b3d4ff364bef0f33eb9697a6a7ee (patch)
tree47455d82b24ae56cd6afe948b0dc4aaf56c6333c /drivers
parentiwlwifi: fix and describe iwl_adjust_beacon_interval (diff)
downloadkernel-qcow2-linux-8f1d968721f9b3d4ff364bef0f33eb9697a6a7ee.tar.gz
kernel-qcow2-linux-8f1d968721f9b3d4ff364bef0f33eb9697a6a7ee.tar.xz
kernel-qcow2-linux-8f1d968721f9b3d4ff364bef0f33eb9697a6a7ee.zip
iwlwifi: make sure runtime calibration is enabled after association
Clear the "start calib" flag only for new association, The flag will be set in post_associate function to trigger the runtime calibration. Set this flag to "0" will stop the runtime sensitivity calibration Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index a19671d99248..36df9a7fcbcb 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -226,9 +226,8 @@ int iwl_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx)
return ret;
}
}
-
- priv->start_calib = 0;
if (new_assoc) {
+ priv->start_calib = 0;
/* Apply the new configuration
* RXON assoc doesn't clear the station table in uCode,
*/