nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 # Patch to prevent mac80211 to clobber injected sequence numbers
2 diff -bBur linux-2.6.24.4/net/mac80211/tx.c linux-2.6.24.4-sud/net/mac80211/tx.c
3 --- linux-2.6.24.4/net/mac80211/tx.c 2008-01-24 23:58:37.000000000 +0100
4 +++ linux-2.6.24.4-sud/net/mac80211/tx.c 2008-04-05 16:43:19.000000000 +0200
5 @@ -281,6 +281,9 @@
6 {
7 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data;
8  
9 + if (unlikely(tx->flags & IEEE80211_TXRXD_TX_INJECTED))
10 + return TXRX_CONTINUE;
11 +
12 if (ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_control)) >= 24)
13 ieee80211_include_sequence(tx->sdata, hdr);
14