diff options
author | Nick Kossifidis <mick@madwifi-project.org> | 2009-08-09 20:30:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:13:56 -0400 |
commit | b55a5de114dcdc03f2f18c3bd98bbabb13ee53ef (patch) | |
tree | 10e06663b16040ee784537435f158f717b828302 /drivers/net/wireless/ath/ath5k/attach.c | |
parent | edd7fc7003f31da48d06e215a93ea966a22c2a03 (diff) |
ath5k: Preserve pcicfg bits during attach
* During attach preserve pcicfg bits when enabling pci core
sw retry fix.
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/attach.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c index 238eeb7e166e..65d438b59f64 100644 --- a/drivers/net/wireless/ath/ath5k/attach.c +++ b/drivers/net/wireless/ath/ath5k/attach.c | |||
@@ -261,7 +261,7 @@ struct ath5k_hw *ath5k_hw_attach(struct ath5k_softc *sc, u8 mac_version) | |||
261 | 261 | ||
262 | /* Enable pci core retry fix on Hainan (5213A) and later chips */ | 262 | /* Enable pci core retry fix on Hainan (5213A) and later chips */ |
263 | if (srev >= AR5K_SREV_AR5213A) | 263 | if (srev >= AR5K_SREV_AR5213A) |
264 | ath5k_hw_reg_write(ah, AR5K_PCICFG_RETRY_FIX, AR5K_PCICFG); | 264 | AR5K_REG_ENABLE_BITS(ah, AR5K_PCICFG, AR5K_PCICFG_RETRY_FIX); |
265 | 265 | ||
266 | /* | 266 | /* |
267 | * Get card capabilities, calibration values etc | 267 | * Get card capabilities, calibration values etc |