aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index b18a72690119..cd6bc87eec73 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1295,7 +1295,7 @@ int ieee80211_master_start_xmit(struct sk_buff *skb, struct net_device *dev)
1295 return 0; 1295 return 0;
1296 } 1296 }
1297 1297
1298 if (!(local->hw.flags & IEEE80211_HW_NO_STACK_DYNAMIC_PS) && 1298 if ((local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK) &&
1299 local->hw.conf.dynamic_ps_timeout > 0) { 1299 local->hw.conf.dynamic_ps_timeout > 0) {
1300 if (local->hw.conf.flags & IEEE80211_CONF_PS) { 1300 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
1301 ieee80211_stop_queues_by_reason(&local->hw, 1301 ieee80211_stop_queues_by_reason(&local->hw,