summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-lib.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-lib.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-lib.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index cfe945c58fd1..c7102bbba0f2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -1724,8 +1724,7 @@ static void iwlagn_bt_traffic_change_work(struct work_struct *work)
if (test_bit(STATUS_SCAN_HW, &priv->status))
goto out;
- if (priv->cfg->ops->lib->update_chain_flags)
- priv->cfg->ops->lib->update_chain_flags(priv);
+ iwl_update_chain_flags(priv);
if (smps_request != -1) {
priv->current_ht_config.smps = smps_request;