  
  		/*
  		 * Add this frame to software queue for scheduling later
-@@ -2218,9 +2438,16 @@ int ath_tx_start(struct ieee80211_hw *hw, struct sk_buff *skb,
+@@ -2218,9 +2436,16 @@ int ath_tx_start(struct ieee80211_hw *hw, struct sk_buff *skb,
  		 */
  		TX_STAT_INC(txq->axq_qnum, a_queued_sw);
  		__skb_queue_tail(&tid->buf_q, skb);
 -		if (!txctl->an->sleeping)
-+#ifdef TID_SLEEPING
++#ifdef CPTCFG_ATH9K_TID_SLEEPING
 +		if (!txctl->an->sleeping && tid_sleep_tid_force_sleep==false) {
 +#else
 +		if (!txctl->an->sleeping) {
 +#endif        
-+#ifdef TID_SLEEPING_DEBUG   
++#ifdef CPTCFG_ATH_DEBUG   
 +            printk("ath_tx_start: This frame will be sent\n");
 +#endif            
  			ath_tx_queue_tid(txq, tid);

+            }
+            if(ff_cntr==6)
+            {
+#ifdef TID_SLEEPING_DEBUG                   
+                printk("Process all STAs activated\n");
+#endif                
+            }           

 struct ath_atx_ac {
 	struct ath_txq *txq;
 	struct list_head list;
diff --git a/backports-3.12.8-1/drivers/net/wireless/ath/ath9k/main.c b/backports-3.12.8-1/drivers/net/wireless/ath/ath9k/main.c
index 99ab0aa..4f939d3 100755
--- a/backports-3.12.8-1/drivers/net/wireless/ath/ath9k/main.c
+++ b/backports-3.12.8-1/drivers/net/wireless/ath/ath9k/main.c
@@ -12,6 +12,7 @@
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
