Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171349
b: refs/heads/master
c: 62b517c
h: refs/heads/master
i:
  171347: 947d712
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 30, 2009
1 parent 462a683 commit a332217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c27f2fded51948edf40007f4f31350e9e0c6ba23
refs/heads/master: 62b517cb3e974624a2958ad0b603ebb59cd96e16
7 changes: 3 additions & 4 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,11 @@ ieee80211_tx_h_multicast_ps_buf(struct ieee80211_tx_data *tx)
if (!atomic_read(&tx->sdata->bss->num_sta_ps))
return TX_CONTINUE;

/* buffered in hardware */
if (!(tx->local->hw.flags & IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING)) {
info->flags |= IEEE80211_TX_CTL_SEND_AFTER_DTIM;
info->flags |= IEEE80211_TX_CTL_SEND_AFTER_DTIM;

/* device releases frame after DTIM beacon */
if (!(tx->local->hw.flags & IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING))
return TX_CONTINUE;
}

/* buffered in mac80211 */
if (tx->local->total_ps_buffered >= TOTAL_MAX_TX_BUFFER)
Expand Down

0 comments on commit a332217

Please sign in to comment.