summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath5k/pci.c
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2011-11-25 22:40:24 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-28 23:44:15 +0400
commit1846ac3dbec0894095520b2756b68c4fd81e3fbb (patch)
treea4e5215b05ded63d3ee516d03312c30243d05b4f /drivers/net/wireless/ath/ath5k/pci.c
parentce169aca0d823d38465127023e3d571816e6666c (diff)
downloadlinux-1846ac3dbec0894095520b2756b68c4fd81e3fbb.tar.xz
ath5k: Use usleep_range where possible
Use usleep_range where possible to reduce busy waits 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/pci.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/pci.c b/drivers/net/wireless/ath/ath5k/pci.c
index dfa48eb7d953..849fa060ebc4 100644
--- a/drivers/net/wireless/ath/ath5k/pci.c
+++ b/drivers/net/wireless/ath/ath5k/pci.c
@@ -98,7 +98,7 @@ ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
0xffff);
return true;
}
- udelay(15);
+ usleep_range(15, 20);
}
return false;