diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-01-13 07:32:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:27 -0500 |
commit | 07e74348c76368c3d694a06677c200dc8d9b00e8 (patch) | |
tree | 6c3bf0b6c7031916e67497d43c031d4628872dec /drivers/net/wireless/ath9k | |
parent | d03415e6771cd709b2b2ec64d3e6315cc3ebfa74 (diff) |
ath9k: Use a defined value for pci_set_power_state()
Silence sparse by using a defined value PCI_D3hot instead of a magic
constant in a pci_set_power_state() call.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 72f2956c4c54..b93ada8f15c9 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -2692,7 +2692,7 @@ static int ath_pci_suspend(struct pci_dev *pdev, pm_message_t state) | |||
2692 | 2692 | ||
2693 | pci_save_state(pdev); | 2693 | pci_save_state(pdev); |
2694 | pci_disable_device(pdev); | 2694 | pci_disable_device(pdev); |
2695 | pci_set_power_state(pdev, 3); | 2695 | pci_set_power_state(pdev, PCI_D3hot); |
2696 | 2696 | ||
2697 | return 0; | 2697 | return 0; |
2698 | } | 2698 | } |