aboutsummaryrefslogtreecommitdiffstats
path: root/package/acx-mac80211/patches/011-no_pm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/acx-mac80211/patches/011-no_pm.patch')
-rw-r--r--package/acx-mac80211/patches/011-no_pm.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/acx-mac80211/patches/011-no_pm.patch b/package/acx-mac80211/patches/011-no_pm.patch
index 09a00b04e5..a78e453a89 100644
--- a/package/acx-mac80211/patches/011-no_pm.patch
+++ b/package/acx-mac80211/patches/011-no_pm.patch
@@ -20,13 +20,13 @@
fail_register_netdev:
ieee80211_free_hw(ieee);
done:
-@@ -1872,7 +1876,9 @@
+@@ -1809,7 +1821,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;
+ } \ No newline at end of file