mac80211: update to v6.1.24
[openwrt/staging/dedeckeh.git] / package / kernel / mac80211 / patches / ath11k / 0037-wifi-ath11k-allow-system-suspend-to-survive-ath11k.patch
index cd8ab3dc4ef6f9db1a3a7e6e1ebf6f86d5566bfd..fa680954e6fae3c4f784a1ba546ec6ec6ffc87f5 100644 (file)
@@ -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,