diff options
author | Zhu, Yi <yi.zhu@intel.com> | 2008-12-05 07:58:38 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 13:48:21 -0500 |
commit | f056658bb9c3085d5ec52fbdd45b38d55b899cc9 (patch) | |
tree | bebb9e05a6c9b870383280ca0bb547ee577d762a /drivers/net/wireless/iwlwifi/iwl-tx.c | |
parent | 7262796ab726fcefad9b588a44d1d5a9f221051f (diff) | |
download | kernel_samsung_aries-f056658bb9c3085d5ec52fbdd45b38d55b899cc9.zip kernel_samsung_aries-f056658bb9c3085d5ec52fbdd45b38d55b899cc9.tar.gz kernel_samsung_aries-f056658bb9c3085d5ec52fbdd45b38d55b899cc9.tar.bz2 |
iwlwifi: fix time interval misuse in iwl_poll_{direct_}bit
The patch fixes the misuse of microsecond with millisecond in the
polling mechanism of the iwlwifi driver. The impact of this problem
is the unacceptable latency for the whole system (especially during
bringing down the wlan interface).
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index 18d6cf6..9d7e45f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c @@ -628,7 +628,7 @@ void iwl_txq_ctx_stop(struct iwl_priv *priv) iwl_write_direct32(priv, FH_TCSR_CHNL_TX_CONFIG_REG(ch), 0x0); iwl_poll_direct_bit(priv, FH_TSSR_TX_STATUS_REG, FH_TSSR_TX_STATUS_REG_MSK_CHNL_IDLE(ch), - 200); + 1000); } iwl_release_nic_access(priv); spin_unlock_irqrestore(&priv->lock, flags); |