diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index e0ccee23fbcd..1f536ba573b4 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -439,8 +439,8 @@ ieee80211_tx_h_multicast_ps_buf(struct ieee80211_tx_data *tx) | |||
439 | if (ieee80211_hw_check(&tx->local->hw, QUEUE_CONTROL)) | 439 | if (ieee80211_hw_check(&tx->local->hw, QUEUE_CONTROL)) |
440 | info->hw_queue = tx->sdata->vif.cab_queue; | 440 | info->hw_queue = tx->sdata->vif.cab_queue; |
441 | 441 | ||
442 | /* no stations in PS mode */ | 442 | /* no stations in PS mode and no buffered packets */ |
443 | if (!atomic_read(&ps->num_sta_ps)) | 443 | if (!atomic_read(&ps->num_sta_ps) && skb_queue_empty(&ps->bc_buf)) |
444 | return TX_CONTINUE; | 444 | return TX_CONTINUE; |
445 | 445 | ||
446 | info->flags |= IEEE80211_TX_CTL_SEND_AFTER_DTIM; | 446 | info->flags |= IEEE80211_TX_CTL_SEND_AFTER_DTIM; |