Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300624
b: refs/heads/master
c: 52a3f20
h: refs/heads/master
v: v3
  • Loading branch information
Marco Porsch authored and John W. Linville committed Apr 9, 2012
1 parent 564cf3a commit 0e85654
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 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: fa444bf88ce2ba17d24dd0bb279e3106acf86bed
refs/heads/master: 52a3f20c09559465f821b54838decb397054e7de
16 changes: 9 additions & 7 deletions trunk/net/mac80211/sta_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -1195,13 +1195,15 @@ ieee80211_sta_ps_deliver_response(struct sta_info *sta,
ieee80211_is_qos_nullfunc(hdr->frame_control))
qoshdr = ieee80211_get_qos_ctl(hdr);

/* set EOSP for the frame */
if (reason == IEEE80211_FRAME_RELEASE_UAPSD &&
qoshdr && skb_queue_empty(&frames))
*qoshdr |= IEEE80211_QOS_CTL_EOSP;

info->flags |= IEEE80211_TX_STATUS_EOSP |
IEEE80211_TX_CTL_REQ_TX_STATUS;
/* end service period after last frame */
if (skb_queue_empty(&frames)) {
if (reason == IEEE80211_FRAME_RELEASE_UAPSD &&
qoshdr)
*qoshdr |= IEEE80211_QOS_CTL_EOSP;

info->flags |= IEEE80211_TX_STATUS_EOSP |
IEEE80211_TX_CTL_REQ_TX_STATUS;
}

if (qoshdr)
tids |= BIT(*qoshdr & IEEE80211_QOS_CTL_TID_MASK);
Expand Down

0 comments on commit 0e85654

Please sign in to comment.