Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266531
b: refs/heads/master
c: 49a5954
h: refs/heads/master
i:
  266529: 24d33d0
  266527: d0c626c
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Sep 30, 2011
1 parent 4e3638d commit e26d5a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b801bc969364a980c1366e48155d1a29d20661b
refs/heads/master: 49a59543eb5a5d268b3d11747f9c3c557ae271a0
4 changes: 4 additions & 0 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,9 @@ ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx)
if (ieee80211_hdrlen(hdr->frame_control) < 24)
return TX_CONTINUE;

if (ieee80211_is_qos_nullfunc(hdr->frame_control))
return TX_CONTINUE;

/*
* Anything but QoS data that has a sequence number field
* (is long enough) gets a sequence number from the global
Expand Down Expand Up @@ -1236,6 +1239,7 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata,
tx->sta = sta_info_get(sdata, hdr->addr1);

if (tx->sta && ieee80211_is_data_qos(hdr->frame_control) &&
!ieee80211_is_qos_nullfunc(hdr->frame_control) &&
(local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION) &&
!(local->hw.flags & IEEE80211_HW_TX_AMPDU_SETUP_IN_HW)) {
struct tid_ampdu_tx *tid_tx;
Expand Down

0 comments on commit e26d5a5

Please sign in to comment.