Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203708
b: refs/heads/master
c: b3f194e
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Jul 14, 2010
1 parent 7927196 commit 9e7dd45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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: 450464def78c94018d997ae6f823578499cdf879
refs/heads/master: b3f194e54bdbaa4d508488cab24d23c376e235a2
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/ath/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1728,8 +1728,6 @@ ath5k_rx_stop(struct ath5k_softc *sc)
ath5k_hw_stop_rx_dma(ah); /* disable DMA engine */

ath5k_debug_printrxbuffs(sc, ah);

sc->rxlink = NULL; /* just in case */
}

static unsigned int
Expand Down Expand Up @@ -2633,8 +2631,7 @@ ath5k_stop_locked(struct ath5k_softc *sc)
if (!test_bit(ATH_STAT_INVALID, sc->status)) {
ath5k_rx_stop(sc);
ath5k_hw_phy_disable(ah);
} else
sc->rxlink = NULL;
}

return 0;
}
Expand Down Expand Up @@ -2771,7 +2768,7 @@ ath5k_intr(int irq, void *dev_id)
* RXE bit is written, but it doesn't work at
* least on older hardware revs.
*/
sc->rxlink = NULL;
sc->stats.rxeol_intr++;
}
if (status & AR5K_INT_TXURN) {
/* bump tx trigger level */
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ath/ath5k/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ struct ath5k_statistics {

unsigned int mib_intr;
unsigned int rxorn_intr;
unsigned int rxeol_intr;
};

#if CHAN_DEBUG
Expand Down

0 comments on commit 9e7dd45

Please sign in to comment.