summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/574-ath9k_fix_aspm_resume.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-29 08:16:31 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-29 08:16:31 +0000
commit542b91ec01eaa33284cea3397bee4e9afda277f9 (patch)
tree93e326a234e4bcb447dc7dbf2201c75033e3661e /package/mac80211/patches/574-ath9k_fix_aspm_resume.patch
parentc4f6306026c54096346255a8bda3d9dc60e58a96 (diff)
mac80211: reorganize patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33289 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/574-ath9k_fix_aspm_resume.patch')
-rw-r--r--package/mac80211/patches/574-ath9k_fix_aspm_resume.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/mac80211/patches/574-ath9k_fix_aspm_resume.patch b/package/mac80211/patches/574-ath9k_fix_aspm_resume.patch
deleted file mode 100644
index 31259de82..000000000
--- a/package/mac80211/patches/574-ath9k_fix_aspm_resume.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/pci.c
-+++ b/drivers/net/wireless/ath/ath9k/pci.c
-@@ -331,6 +331,9 @@ static int ath_pci_suspend(struct device
- static int ath_pci_resume(struct device *device)
- {
- struct pci_dev *pdev = to_pci_dev(device);
-+ struct ieee80211_hw *hw = pci_get_drvdata(pdev);
-+ struct ath_softc *sc = hw->priv;
-+ struct ath_common *common = ath9k_hw_common(sc->sc_ah);
- u32 val;
-
- /*
-@@ -342,6 +345,8 @@ static int ath_pci_resume(struct device
- if ((val & 0x0000ff00) != 0)
- pci_write_config_dword(pdev, 0x40, val & 0xffff00ff);
-
-+ ath_pci_aspm_init(common);
-+
- return 0;
- }
-