diff options
author | Nick Kossifidis <mick@madwifi.org> | 2008-09-17 00:33:19 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-24 20:18:01 (GMT) |
commit | 84e463fa0786a105c39281b90f8e3b6fe1444a05 (patch) | |
tree | a7df8abb7d6239240f2a8559db9fe5507d8595ef /drivers/net/wireless/ath5k/phy.c | |
parent | 92ffe055c3ea45856183bebed62f8880f75fef3b (diff) | |
download | linux-84e463fa0786a105c39281b90f8e3b6fe1444a05.tar.xz |
ath5k: Fix bad udelay calls on AR5210 code
* Fix bad udelay calls (using > 2000us) in AR5210 code and clean up
some bits on nic_reset (AR5210 support is still in bad shape)
Changes-licensed-under: ISC
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath5k/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/phy.c b/drivers/net/wireless/ath5k/phy.c index 1ea8ed9..e43f656 100644 --- a/drivers/net/wireless/ath5k/phy.c +++ b/drivers/net/wireless/ath5k/phy.c @@ -2124,7 +2124,7 @@ static int ath5k_hw_rf5110_calibrate(struct ath5k_hw *ah, beacon = ath5k_hw_reg_read(ah, AR5K_BEACON_5210); ath5k_hw_reg_write(ah, beacon & ~AR5K_BEACON_ENABLE, AR5K_BEACON_5210); - udelay(2300); + mdelay(2); /* * Set the channel (with AGC turned off) |