diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-07 19:15:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-01-07 19:15:05 +0000 |
commit | a2c0f039a9d32bbb9c8b4a472fafbf3cb7f8ca0f (patch) | |
tree | 1c14141ec4e838be42de26b9cf0074758f2439c9 /package/mac80211/patches/540-ath9k_tx_fix.patch | |
parent | dee16bb67ae841d8340492b7ce99155886d2dca1 (diff) | |
download | upstream-a2c0f039a9d32bbb9c8b4a472fafbf3cb7f8ca0f.tar.gz upstream-a2c0f039a9d32bbb9c8b4a472fafbf3cb7f8ca0f.tar.bz2 upstream-a2c0f039a9d32bbb9c8b4a472fafbf3cb7f8ca0f.zip |
mac80211: update to compat-wireless 2010-01-07 (unoffical snapshot, official ones are not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19063 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/540-ath9k_tx_fix.patch')
-rw-r--r-- | package/mac80211/patches/540-ath9k_tx_fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/package/mac80211/patches/540-ath9k_tx_fix.patch b/package/mac80211/patches/540-ath9k_tx_fix.patch deleted file mode 100644 index 8965e5bba0..0000000000 --- a/package/mac80211/patches/540-ath9k_tx_fix.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/xmit.c -+++ b/drivers/net/wireless/ath/ath9k/xmit.c -@@ -2078,7 +2078,7 @@ static void ath_tx_processq(struct ath_s - &txq->axq_q, lastbf->list.prev); - - txq->axq_depth--; -- txok = (ds->ds_txstat.ts_status == 0); -+ txok = !(ds->ds_txstat.ts_status & ATH9K_TXERR_MASK); - txq->axq_tx_inprogress = false; - spin_unlock_bh(&txq->axq_lock); - ---- a/drivers/net/wireless/ath/ath9k/mac.h -+++ b/drivers/net/wireless/ath/ath9k/mac.h -@@ -77,6 +77,9 @@ - #define ATH9K_TXERR_XTXOP 0x08 - #define ATH9K_TXERR_TIMER_EXPIRED 0x10 - #define ATH9K_TX_ACKED 0x20 -+#define ATH9K_TXERR_MASK \ -+ (ATH9K_TXERR_XRETRY | ATH9K_TXERR_FILT | ATH9K_TXERR_FIFO | \ -+ ATH9K_TXERR_XTXOP | ATH9K_TXERR_TIMER_EXPIRED) - - #define ATH9K_TX_BA 0x01 - #define ATH9K_TX_PWRMGMT 0x02 |