ath9k: Use standard #defines for PCIe Capability ASPM fields
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 20:51:19 +0000 (13:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 7 Dec 2012 19:10:50 +0000 (12:10 -0700)
commita875621ec15318f0ba35907726ee2cb9e9e0c6b7
tree25c8ccf69d97b845bc534b5be498ee0affe429d5
parent438a0f0a1faa3dd00c0460e8232cd712215a6d46
ath9k: Use standard #defines for PCIe Capability ASPM fields

Use the standard #defines for PCIe Capability ASPM fields.

Previously we used PCIE_LINK_STATE_L0S and PCIE_LINK_STATE_L1 directly, but
these are defined for the Linux ASPM interfaces, e.g.,
pci_disable_link_state(), and only coincidentally match the actual register
bits.  PCIE_LINK_STATE_CLKPM, also part of that interface, does not match
the register bit.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/wireless/ath/ath9k/pci.c