mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage

SVN-Revision: 25358
This commit is contained in:
Felix Fietkau 2011-02-04 12:16:36 +00:00
parent 4678e149a8
commit 2d5c6da16a

View file

@ -0,0 +1,11 @@
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -798,7 +798,7 @@ ieee80211_rx_h_check(struct ieee80211_rx
rx->local->dot11FrameDuplicateCount++;
rx->sta->num_duplicates++;
}
- return RX_DROP_MONITOR;
+ return RX_DROP_UNUSABLE;
} else
rx->sta->last_seq_ctrl[rx->queue] = hdr->seq_ctrl;
}