nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 diff -Naur linux-source-2.6.17-orig/net/ieee80211/ieee80211_tx.c linux-source-2.6.17-rawtx/net/ieee80211/ieee80211_tx.c
2 --- linux-source-2.6.17-orig/net/ieee80211/ieee80211_tx.c 2006-10-13 14:18:10.000000000 +0200
3 +++ linux-source-2.6.17-rawtx/net/ieee80211/ieee80211_tx.c 2007-04-09 17:07:45.000000000 +0200
4 @@ -291,6 +291,23 @@
5 goto success;
6 }
7  
8 + if(ieee->iw_mode == IW_MODE_MONITOR)
9 + {
10 + txb = ieee80211_alloc_txb(1, skb->len,
11 + ieee->tx_headroom, GFP_ATOMIC);
12 + if (unlikely(!txb)) {
13 + printk(KERN_WARNING "%s: Could not allocate TXB\n",
14 + ieee->dev->name);
15 + goto failed;
16 + }
17 +
18 + txb->encrypted = 0;
19 + txb->payload_size = skb->len;
20 + memcpy(skb_put(txb->fragments[0],skb->len), skb->data, skb->len);
21 +
22 + goto success;
23 + }
24 +
25 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
26  
27 crypt = ieee->crypt[ieee->tx_keyidx];