diff options
author | Matteo Croce <matteo@openwrt.org> | 2007-09-17 00:08:24 +0000 |
---|---|---|
committer | Matteo Croce <matteo@openwrt.org> | 2007-09-17 00:08:24 +0000 |
commit | 2bf61a9094a0329b6a7cc300117e98fec05b2125 (patch) | |
tree | 37f0199146a9aa0d7edff6467241095ae74397ce /package/acx-mac80211/patches | |
parent | e61c6fae14c94770c94d9a4f9e7c97941d36cf16 (diff) | |
download | upstream-2bf61a9094a0329b6a7cc300117e98fec05b2125.tar.gz upstream-2bf61a9094a0329b6a7cc300117e98fec05b2125.tar.bz2 upstream-2bf61a9094a0329b6a7cc300117e98fec05b2125.zip |
disable powersave, vlynq can't handle this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/acx-mac80211/patches')
-rw-r--r-- | package/acx-mac80211/patches/011-no_pm.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/acx-mac80211/patches/011-no_pm.patch b/package/acx-mac80211/patches/011-no_pm.patch new file mode 100644 index 0000000000..09a00b04e5 --- /dev/null +++ b/package/acx-mac80211/patches/011-no_pm.patch @@ -0,0 +1,32 @@ +--- acx-mac80211-20070610/pci.c 2007-06-10 20:23:27.000000000 +0200 ++++ acx-mac80211-20070610.new/pci.c 2007-09-17 01:07:38.000000000 +0200 +@@ -1693,7 +1693,9 @@ + /** done with board specific setup **/ + + /* need to be able to restore PCI state after a suspend */ ++#ifdef CONFIG_PM + pci_save_state(pdev); ++#endif + + + acx_init_task_scheduler(adev); +@@ -1740,7 +1742,9 @@ + pci_disable_device(pdev); + fail_pci_enable_device: + ++#ifdef CONFIG_PM + pci_set_power_state(pdev, PCI_D3hot); ++#endif + fail_register_netdev: + ieee80211_free_hw(ieee); + done: +@@ -1872,7 +1876,9 @@ + ieee80211_free_hw(adev->ieee); + + /* put device into ACPI D3 mode (shutdown) */ ++#ifdef CONFIG_PM + pci_set_power_state(pdev, PCI_D3hot); ++#endif + // kfree(ieee); + end: + FN_EXIT0; |