Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171071
b: refs/heads/master
c: c166b25
h: refs/heads/master
i:
  171069: aeec56a
  171067: 7ebbf03
  171063: 53dc937
  171055: e43374a
  171039: 8d531f7
  171007: 305b286
v: v3
  • Loading branch information
Ben Cahill authored and John W. Linville committed Oct 27, 2009
1 parent a47a4ae commit f4273b4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 442464218d93aa0aacc55c3a7ac908ae00abff5f
refs/heads/master: c166b25a5c02d881b1da15f3afe9dc9e56b206a8
9 changes: 9 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3256,6 +3256,15 @@ static void __devexit iwl_pci_remove(struct pci_dev *pdev)
iwl_down(priv);
}

/*
* Make sure device is reset to low power before unloading driver.
* This may be redundant with iwl_down(), but there are paths to
* run iwl_down() without calling apm_ops.stop(), and there are
* paths to avoid running iwl_down() at all before leaving driver.
* This (inexpensive) call *makes sure* device is reset.
*/
priv->cfg->ops->lib->apm_ops.stop(priv);

iwl_tt_exit(priv);

/* make sure we flush any pending irq or
Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -4135,6 +4135,15 @@ static void __devexit iwl3945_pci_remove(struct pci_dev *pdev)
iwl3945_down(priv);
}

/*
* Make sure device is reset to low power before unloading driver.
* This may be redundant with iwl_down(), but there are paths to
* run iwl_down() without calling apm_ops.stop(), and there are
* paths to avoid running iwl_down() at all before leaving driver.
* This (inexpensive) call *makes sure* device is reset.
*/
priv->cfg->ops->lib->apm_ops.stop(priv);

/* make sure we flush any pending irq or
* tasklet for the driver
*/
Expand Down

0 comments on commit f4273b4

Please sign in to comment.