summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
diff options
context:
space:
mode:
authorFry, Donald H <donald.h.fry@intel.com>2011-07-08 17:46:17 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-07-11 21:02:04 +0200
commit6b6db91c8aa14fa9bd041321026d69b9f6ea42ff (patch)
treece6f18cdd3120b13041c8aad04f6dbe789c586a3 /drivers/net/wireless/iwlwifi/iwl-agn-calib.c
parentiwlagn: provide heplers to access the transport ops (diff)
downloadlinux-6b6db91c8aa14fa9bd041321026d69b9f6ea42ff.tar.xz
linux-6b6db91c8aa14fa9bd041321026d69b9f6ea42ff.zip
iwlagn: remove the indirection for update_chain_flags
Not needed since the driver split. Signed-off-by: Don Fry <donald.h.fry@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-calib.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-calib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c b/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
index 2ec3863306b1..710ada9c4132 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-calib.c
@@ -1001,8 +1001,7 @@ void iwl_chain_noise_calibration(struct iwl_priv *priv)
/* Some power changes may have been made during the calibration.
* Update and commit the RXON
*/
- if (priv->cfg->ops->lib->update_chain_flags)
- priv->cfg->ops->lib->update_chain_flags(priv);
+ iwl_update_chain_flags(priv);
data->state = IWL_CHAIN_NOISE_DONE;
iwl_power_update_mode(priv, false);