summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.c
diff options
context:
space:
mode:
authorWey-Yi Guy2011-06-03 16:54:16 +0200
committerJohn W. Linville2011-06-03 21:16:38 +0200
commit805a3b810708db3261cc8c1183ffb2703a5ce243 (patch)
tree43b09771115f98a65512c233e294d3b91f2116ff /drivers/net/wireless/iwlwifi/iwl-core.c
parentiwlagn: direct call to post_scan function (diff)
downloadkernel-qcow2-linux-805a3b810708db3261cc8c1183ffb2703a5ce243.tar.gz
kernel-qcow2-linux-805a3b810708db3261cc8c1183ffb2703a5ce243.tar.xz
kernel-qcow2-linux-805a3b810708db3261cc8c1183ffb2703a5ce243.zip
iwlagn: call commit_rxon function directly
No need to go though multiple levels of indirect call to send RXON command. Call it directly 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-core.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 52e941382e0f..de18916ca013 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -1279,7 +1279,7 @@ static int iwl_set_mode(struct iwl_priv *priv, struct iwl_rxon_context *ctx)
if (priv->cfg->ops->hcmd->set_rxon_chain)
priv->cfg->ops->hcmd->set_rxon_chain(priv, ctx);
- return iwlcore_commit_rxon(priv, ctx);
+ return iwlagn_commit_rxon(priv, ctx);
}
static int iwl_setup_interface(struct iwl_priv *priv,