diff mbox

[2/2] mac80211: Clear PS related flag on disabling power save.

Message ID 1298018905-6984-1-git-send-email-vnatarajan@atheros.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Vivek Natarajan Feb. 18, 2011, 8:48 a.m. UTC
None
diff mbox

Patch

diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 17ef4f4..4b88edf 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -238,6 +238,7 @@  ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx)
 						IEEE80211_QUEUE_STOP_REASON_PS);
 		ieee80211_queue_work(&local->hw,
 				     &local->dynamic_ps_disable_work);
+		ifmgd->flags &= ~IEEE80211_STA_NULLFUNC_ACKED;
 	}
 
 	mod_timer(&local->dynamic_ps_timer, jiffies +