ath9k: merge a pending fix for powersave
authorFelix Fietkau <nbd@openwrt.org>
Sun, 25 Sep 2011 18:34:38 +0000 (18:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 25 Sep 2011 18:34:38 +0000 (18:34 +0000)
SVN-Revision: 28300

package/mac80211/patches/300-pending_work.patch

index fde95c940bc2a131408854f0f2620609d711aa12..d3bcece60dd411bf2640bb729cfbdd4537077119 100644 (file)
 +      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);