Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111302
b: refs/heads/master
c: 1fe1132
h: refs/heads/master
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Aug 29, 2008
1 parent 310e2f8 commit 4a31bec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14cc709f338f44f1ff69fa0b0e35e9de3ee62eb5
refs/heads/master: 1fe1132bad8e98fa34cfb4a3901340d1214b95d7
1 change: 0 additions & 1 deletion trunk/drivers/net/wireless/ath9k/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,6 @@ struct ath_softc {
struct ath_descdma sc_rxdma;
int sc_rxbufsize; /* rx size based on mtu */
u32 *sc_rxlink; /* link ptr in last RX desc */
u64 sc_lastrx; /* tsf of last rx'd frame */

/* TX */
struct list_head sc_txbuf;
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -2309,8 +2309,7 @@ int ath_tx_start(struct ath_softc *sc, struct sk_buff *skb)

void ath_tx_tasklet(struct ath_softc *sc)
{
u64 tsf = ath9k_hw_gettsf64(sc->sc_ah);
int i, nacked = 0;
int i;
u32 qcumask = ((1 << ATH9K_NUM_TX_QUEUES) - 1);

ath9k_hw_gettxintrtxqs(sc->sc_ah, &qcumask);
Expand All @@ -2320,10 +2319,8 @@ void ath_tx_tasklet(struct ath_softc *sc)
*/
for (i = 0; i < ATH9K_NUM_TX_QUEUES; i++) {
if (ATH_TXQ_SETUP(sc, i) && (qcumask & (1 << i)))
nacked += ath_tx_processq(sc, &sc->sc_txq[i]);
ath_tx_processq(sc, &sc->sc_txq[i]);
}
if (nacked)
sc->sc_lastrx = tsf;
}

void ath_tx_draintxq(struct ath_softc *sc,
Expand Down

0 comments on commit 4a31bec

Please sign in to comment.