From f45bd67de06f308be62b675a8de968043c59f7e2 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 25 Sep 2011 18:34:38 +0000
Subject: [PATCH] ath9k: merge a pending fix for powersave

SVN-Revision: 28300
---
 package/mac80211/patches/300-pending_work.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index fde95c940b..d3bcece60d 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -1139,7 +1139,7 @@
 +	ath_hw_cycle_counters_update(common);
 +	spin_unlock(&common->cc_lock);
 +
-+	ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_NETWORK_SLEEP);
++	ath9k_hw_setpower(sc->sc_ah, mode);
  
   unlock:
  	spin_unlock_irqrestore(&sc->sc_pm_lock, flags);
-- 
GitLab