aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2006-07-31 14:54:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-07-31 14:58:18 -0400
commit48c86da1a211ef13bbfb1c8f2e35dda44a66b8a1 (patch)
treee02987843b4dd1d14673290ac68c406b94ad2436
parent894b62748bec22a98e636ed40221b27d1b9094b7 (diff)
[PATCH] bcm43xx: reduce mac_suspend delay loop count
Drop the mac_suspend loop count to reduce the maximum delay to 10ms. Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/bcm43xx/bcm43xx_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index 628e5fe3385d..b095f3cc6730 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -2262,7 +2262,7 @@ void bcm43xx_mac_suspend(struct bcm43xx_private *bcm)
2262 bcm43xx_read32(bcm, BCM43xx_MMIO_STATUS_BITFIELD) 2262 bcm43xx_read32(bcm, BCM43xx_MMIO_STATUS_BITFIELD)
2263 & ~BCM43xx_SBF_MAC_ENABLED); 2263 & ~BCM43xx_SBF_MAC_ENABLED);
2264 bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); /* dummy read */ 2264 bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); /* dummy read */
2265 for (i = 100000; i; i--) { 2265 for (i = 10000; i; i--) {
2266 tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); 2266 tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON);
2267 if (tmp & BCM43xx_IRQ_READY) 2267 if (tmp & BCM43xx_IRQ_READY)
2268 goto out; 2268 goto out;