nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
2 index 0855cac..221bed6 100644
3 --- a/net/mac80211/tx.c
4 +++ b/net/mac80211/tx.c
5 @@ -630,6 +630,13 @@ ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx)
6 int tid;
7  
8 /* only for injected frames */
9 + if (unlikely(info->flags & IEEE80211_TX_CTL_INJECTED) &&
10 + !(tx->sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES)) {
11 + if (!ieee80211_has_morefrags(hdr->frame_control))
12 + info->flags |= IEEE80211_TX_CTL_NO_ACK;
13 + return TX_CONTINUE;
14 + }
15 +
16 if (unlikely(ieee80211_is_ctl(hdr->frame_control)))
17 return TX_CONTINUE;
18