Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122655
b: refs/heads/master
c: 8aa15e1
h: refs/heads/master
i:
  122653: 31ab3c4
  122651: 9a4882e
  122647: fb88473
  122639: 73e6f89
  122623: 79e62ae
v: v3
  • Loading branch information
Senthil Balasubramanian authored and John W. Linville committed Dec 12, 2008
1 parent 5340fec commit f76f47c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 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: 2df1bff4c5cd0b28e06e4defc3f5d90618db8d53
refs/heads/master: 8aa15e1506bb0b6b643be12baf1f2d4d2f115931
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,14 @@ struct ath_hal *ath9k_hw_attach(u16 devid, struct ath_softc *sc,
static void ath9k_hw_override_ini(struct ath_hal *ah,
struct ath9k_channel *chan)
{
/*
* Set the RX_ABORT and RX_DIS and clear if off only after
* RXE is set for MAC. This prevents frames with corrupted
* descriptor status.
*/
REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));


if (!AR_SREV_5416_V20_OR_LATER(ah) ||
AR_SREV_9280_10_OR_LATER(ah))
return;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/ath9k/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,12 +916,11 @@ void ath9k_hw_rxena(struct ath_hal *ah)

void ath9k_hw_startpcureceive(struct ath_hal *ah)
{
REG_CLR_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));

ath9k_enable_mib_counters(ah);

ath9k_ani_reset(ah);

REG_CLR_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));
}

void ath9k_hw_stoppcurecv(struct ath_hal *ah)
Expand Down

0 comments on commit f76f47c

Please sign in to comment.