Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277768
b: refs/heads/master
c: 68629c6
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Nov 9, 2011
1 parent d0c7703 commit 60b5915
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 819622678ed7011b4d785ca174de5d4bf179bf83
refs/heads/master: 68629c6133304f286a1f0c12d9aa8071a639f076
5 changes: 4 additions & 1 deletion trunk/net/mac80211/wme.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,13 @@ void ieee80211_set_qos_hdr(struct ieee80211_sub_if_data *sdata,
/* Fill in the QoS header if there is one. */
if (ieee80211_is_data_qos(hdr->frame_control)) {
u8 *p = ieee80211_get_qos_ctl(hdr);
u8 ack_policy = 0, tid;
u8 ack_policy, tid;

tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK;

/* preserve EOSP bit */
ack_policy = *p & IEEE80211_QOS_CTL_EOSP;

if (unlikely(sdata->local->wifi_wme_noack_test))
ack_policy |= IEEE80211_QOS_CTL_ACK_POLICY_NOACK;
/* qos header is 2 bytes */
Expand Down

0 comments on commit 60b5915

Please sign in to comment.