patches/mac80211_2.6.26_frag.patch
raw| 1 | diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c |
| 2 | index f35eaea..e5e8483 100644 |
| 3 | --- a/net/mac80211/tx.c |
| 4 | +++ b/net/mac80211/tx.c |
| 5 | @@ -292,6 +292,9 @@ ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx) |
| 6 | { |
| 7 | struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; |
| 8 | |
| 9 | + if (unlikely(tx->flags & IEEE80211_TX_INJECTED)) |
| 10 | + return TX_CONTINUE; |
| 11 | + |
| 12 | if (ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_control)) >= 24) |
| 13 | ieee80211_include_sequence(tx->sdata, hdr); |
| 14 |