diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2010-07-30 15:02:11 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2010-08-04 15:27:36 -0400 |
| commit | ddfef79257648e165ac49e6088d459819a02a882 (patch) | |
| tree | 790266af15b6d03e419f5defda7a6b0b4b8e2967 | |
| parent | 9369746050e838c57e357f0caa552386ad65a82d (diff) | |
ath9k: fix a crash in the PA predistortion apply function
When updating the PAPRD table in hardware, PAPRD itself needs to be
disabled first, otherwise the hardware can throw a data bus error,
which upsets at least some platforms.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 0429dda0961f..6c1d9ef550de 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
| @@ -239,6 +239,7 @@ static void ath_paprd_activate(struct ath_softc *sc) | |||
| 239 | return; | 239 | return; |
| 240 | 240 | ||
| 241 | ath9k_ps_wakeup(sc); | 241 | ath9k_ps_wakeup(sc); |
| 242 | ar9003_paprd_enable(ah, false); | ||
| 242 | for (chain = 0; chain < AR9300_MAX_CHAINS; chain++) { | 243 | for (chain = 0; chain < AR9300_MAX_CHAINS; chain++) { |
| 243 | if (!(ah->caps.tx_chainmask & BIT(chain))) | 244 | if (!(ah->caps.tx_chainmask & BIT(chain))) |
| 244 | continue; | 245 | continue; |
