aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch')
-rw-r--r--package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch b/package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch
index cd8ab3dc4e..fa680954e6 100644
--- a/package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch
+++ b/package/kernel/mac80211/patches/ath11k/0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch
@@ -32,12 +32,12 @@ Link: https://lore.kernel.org/r/20230201183201.14431-1-len.brown@intel.com
--- a/drivers/net/wireless/ath/ath11k/pci.c
+++ b/drivers/net/wireless/ath/ath11k/pci.c
-@@ -981,7 +981,7 @@ static __maybe_unused int ath11k_pci_pm_
+@@ -998,7 +998,7 @@ static __maybe_unused int ath11k_pci_pm_
if (ret)
- ath11k_warn(ab, "failed to suspend core: %d\n", ret);
+ ath11k_warn(ab, "failed to resume core: %d\n", ret);
- return ret;
+ return 0;
}
- static __maybe_unused int ath11k_pci_pm_resume(struct device *dev)
+ static SIMPLE_DEV_PM_OPS(ath11k_pci_pm_ops,