Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102563
b: refs/heads/master
c: 1b73af8
h: refs/heads/master
i:
  102561: 52bfe3d
  102559: a11e728
v: v3
  • Loading branch information
Ron Rindjunsky authored and John W. Linville committed May 14, 2008
1 parent cbddc9f commit e5a02fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 164669032ecbf7c9a3bc78adad4e13ee486e975c
refs/heads/master: 1b73af8284c3fcbb65eefb9141237b7e45cedd21
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-4965.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,8 @@ static int iwl4965_disable_tx_fifo(struct iwl_priv *priv)

static int iwl4965_apm_init(struct iwl_priv *priv)
{
unsigned long flags;
int ret = 0;

spin_lock_irqsave(&priv->lock, flags);
iwl_set_bit(priv, CSR_GIO_CHICKEN_BITS,
CSR_GIO_CHICKEN_BITS_REG_BIT_DIS_L0S_EXIT_TIMER);

Expand Down Expand Up @@ -524,7 +522,6 @@ static int iwl4965_apm_init(struct iwl_priv *priv)

iwl_release_nic_access(priv);
out:
spin_unlock_irqrestore(&priv->lock, flags);
return ret;
}

Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ int iwl_hw_nic_init(struct iwl_priv *priv)
int ret;

/* nic_init */
priv->cfg->ops->lib->apm_ops.init(priv);

spin_lock_irqsave(&priv->lock, flags);
priv->cfg->ops->lib->apm_ops.init(priv);
iwl_write32(priv, CSR_INT_COALESCING, 512 / 32);
spin_unlock_irqrestore(&priv->lock, flags);

Expand Down

0 comments on commit e5a02fe

Please sign in to comment.