diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-15 15:56:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-05-15 15:56:51 +0000 |
commit | 48e4708a34a37be043ae0471047127430702b39a (patch) | |
tree | c5d6df8c3628e6c8a5e9a61ce111715dc9b0113c /package/mac80211/patches/550-ath9k_no_multi_desc_frames.patch | |
parent | cfec944f426b948f8bd5ef81e402c81e29e3eb1c (diff) | |
download | upstream-48e4708a34a37be043ae0471047127430702b39a.tar.gz upstream-48e4708a34a37be043ae0471047127430702b39a.tar.bz2 upstream-48e4708a34a37be043ae0471047127430702b39a.zip |
mac80211: update to wireless-testing 2010-05-12 plus some pending patches
SVN-Revision: 21454
Diffstat (limited to 'package/mac80211/patches/550-ath9k_no_multi_desc_frames.patch')
-rw-r--r-- | package/mac80211/patches/550-ath9k_no_multi_desc_frames.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/package/mac80211/patches/550-ath9k_no_multi_desc_frames.patch b/package/mac80211/patches/550-ath9k_no_multi_desc_frames.patch deleted file mode 100644 index 3bc730e32e..0000000000 --- a/package/mac80211/patches/550-ath9k_no_multi_desc_frames.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/common.c -+++ b/drivers/net/wireless/ath/ath9k/common.c -@@ -57,13 +57,19 @@ static bool ath9k_rx_accept(struct ath_c - * rs_more indicates chained descriptors which can be used - * to link buffers together for a sort of scatter-gather - * operation. -- * -+ * reject the frame, we don't support scatter-gather yet and -+ * the frame is probably corrupt anyway -+ */ -+ if (rx_stats->rs_more) -+ return false; -+ -+ /* - * The rx_stats->rs_status will not be set until the end of the - * chained descriptors so it can be ignored if rs_more is set. The - * rs_more will be false at the last element of the chained - * descriptors. - */ -- if (!rx_stats->rs_more && rx_stats->rs_status != 0) { -+ if (rx_stats->rs_status != 0) { - if (rx_stats->rs_status & ATH9K_RXERR_CRC) - rxs->flag |= RX_FLAG_FAILED_FCS_CRC; - if (rx_stats->rs_status & ATH9K_RXERR_PHY) |