aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2010-10-22 11:04:25 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:24:23 -0500
commit4cbf1b12491cd43032846acc6c6924d9090fa19f (patch)
treee72df0851188cb2a554cc1dbcc85be892aee5621 /drivers/net
parent4beeba7dc59cc10d6a47346c857d1a64a9ec9642 (diff)
iwlwifi: send tx_power_cmd synchronously
On 5xxx and 6xxx change to send tx_power_cmd command synchronously, to do not start other commands when setting tx power is pending. We currently do the same for 4956 and 3945. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index 5e3d799ea3b5..c38daf2d9cfd 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -526,9 +526,8 @@ int iwlagn_send_tx_power(struct iwl_priv *priv)
526 else 526 else
527 tx_ant_cfg_cmd = REPLY_TX_POWER_DBM_CMD; 527 tx_ant_cfg_cmd = REPLY_TX_POWER_DBM_CMD;
528 528
529 return iwl_send_cmd_pdu_async(priv, tx_ant_cfg_cmd, 529 return iwl_send_cmd_pdu(priv, tx_ant_cfg_cmd, sizeof(tx_power_cmd),
530 sizeof(tx_power_cmd), &tx_power_cmd, 530 &tx_power_cmd);
531 NULL);
532} 531}
533 532
534void iwlagn_temperature(struct iwl_priv *priv) 533void iwlagn_temperature(struct iwl_priv *priv)