1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 14:38:59 +02:00
openwrt-xburst/package/mac80211/patches/560-mac80211_cmntr_drop_retransmissions.patch
nbd 4e5d814acd mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-04 12:16:36 +00:00

12 lines
317 B
Diff

--- 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;
}