From 108934678cea46fab70cef7d3414c83c6d361b94 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 15 Apr 2010 20:37:20 +0000 Subject: ath9k: fix crash issues caused by the ar9300 support patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20887 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch') diff --git a/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch b/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch index 2d5fb0aa8..a2ccf23e7 100644 --- a/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch +++ b/package/mac80211/patches/560-ath9k_tx_buf_return_cleanup.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c -@@ -260,19 +260,40 @@ static void ath_tx_set_retry(struct ath_ +@@ -261,19 +261,40 @@ static void ath_tx_set_retry(struct ath_ hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_RETRY); } @@ -46,7 +46,7 @@ ATH_TXBUF_RESET(tbf); tbf->aphy = bf->aphy; -@@ -1084,9 +1105,7 @@ void ath_draintxq(struct ath_softc *sc, +@@ -1081,9 +1102,7 @@ void ath_draintxq(struct ath_softc *sc, list_del(&bf->list); spin_unlock_bh(&txq->axq_lock); @@ -57,7 +57,7 @@ continue; } } -@@ -1306,25 +1325,6 @@ static void ath_tx_txqaddbuf(struct ath_ +@@ -1325,25 +1344,6 @@ static void ath_tx_txqaddbuf(struct ath_ txq->axq_depth++; } @@ -83,7 +83,7 @@ static void ath_tx_send_ampdu(struct ath_softc *sc, struct ath_atx_tid *tid, struct list_head *bf_head, struct ath_tx_control *txctl) -@@ -1806,9 +1806,7 @@ int ath_tx_start(struct ieee80211_hw *hw +@@ -1825,9 +1825,7 @@ int ath_tx_start(struct ieee80211_hw *hw } spin_unlock_bh(&txq->axq_lock); @@ -94,7 +94,7 @@ return r; } -@@ -2122,13 +2120,12 @@ static void ath_tx_processq(struct ath_s +@@ -2141,13 +2139,12 @@ static void ath_tx_processq(struct ath_s txq->axq_depth--; txok = !(ts.ts_status & ATH9K_TXERR_MASK); txq->axq_tx_inprogress = false; -- cgit v1.2.3