diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-15 17:55:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-15 17:55:16 +0000 |
commit | b65db4089dfd161286634ec82c7aaec11dc84ac4 (patch) | |
tree | aa6b1ef5eb5fa5afdaa907307757781f101bf85f /package/mac80211/patches/586-ath9k_fix_rx_flush.patch | |
parent | 9ac95ba999b6908e5d57d661c9ebe3f638ceaf6e (diff) | |
download | master-187ad058-b65db4089dfd161286634ec82c7aaec11dc84ac4.tar.gz master-187ad058-b65db4089dfd161286634ec82c7aaec11dc84ac4.tar.bz2 master-187ad058-b65db4089dfd161286634ec82c7aaec11dc84ac4.zip |
mac80211: update to wireless-testing 2011-09-14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28245 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/586-ath9k_fix_rx_flush.patch')
-rw-r--r-- | package/mac80211/patches/586-ath9k_fix_rx_flush.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/package/mac80211/patches/586-ath9k_fix_rx_flush.patch b/package/mac80211/patches/586-ath9k_fix_rx_flush.patch deleted file mode 100644 index 1629f5f737..0000000000 --- a/package/mac80211/patches/586-ath9k_fix_rx_flush.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/recv.c -+++ b/drivers/net/wireless/ath/ath9k/recv.c -@@ -1845,7 +1845,7 @@ int ath_rx_tasklet(struct ath_softc *sc, - * If we're asked to flush receive queue, directly - * chain it back at the queue without processing it. - */ -- if (flush) -+ if (sc->sc_flags & SC_OP_RXFLUSH) - goto requeue_drop_frag; - - retval = ath9k_rx_skb_preprocess(common, hw, hdr, &rs, -@@ -1973,7 +1973,8 @@ requeue: - } else { - list_move_tail(&bf->list, &sc->rx.rxbuf); - ath_rx_buf_link(sc, bf); -- ath9k_hw_rxena(ah); -+ if (!flush) -+ ath9k_hw_rxena(ah); - } - } while (1); - ---- a/drivers/net/wireless/ath/ath9k/main.c -+++ b/drivers/net/wireless/ath/ath9k/main.c -@@ -246,8 +246,8 @@ static bool ath_prepare_reset(struct ath - - if (!flush) { - if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) -- ath_rx_tasklet(sc, 0, true); -- ath_rx_tasklet(sc, 0, false); -+ ath_rx_tasklet(sc, 1, true); -+ ath_rx_tasklet(sc, 1, false); - } else { - ath_flushrecv(sc); - } |