Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266082
b: refs/heads/master
c: 7107676
h: refs/heads/master
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Sep 16, 2011
1 parent 308beaf commit 2c271fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 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: 4245d31347bdc99a608dc1d1cfe64e44aa3d1771
refs/heads/master: 7107676a3a46415c27186bc7d5ce988498897c66
14 changes: 8 additions & 6 deletions trunk/net/mac80211/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,17 +278,19 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
}

if (!acked && ieee80211_is_back_req(fc)) {
u16 control;

/*
* BAR failed, let's tear down the BA session as a
* last resort as some STAs (Intel 5100 on Windows)
* can get stuck when the BA window isn't flushed
* correctly.
* BAR failed, store the last SSN and retry sending
* the BAR when the next unicast transmission on the
* same TID succeeds.
*/
bar = (struct ieee80211_bar *) skb->data;
if (!(bar->control & IEEE80211_BAR_CTRL_MULTI_TID)) {
control = le16_to_cpu(bar->control);
if (!(control & IEEE80211_BAR_CTRL_MULTI_TID)) {
u16 ssn = le16_to_cpu(bar->start_seq_num);

tid = (bar->control &
tid = (control &
IEEE80211_BAR_CTRL_TID_INFO_MASK) >>
IEEE80211_BAR_CTRL_TID_INFO_SHIFT;

Expand Down

0 comments on commit 2c271fe

Please sign in to comment.