[LIBERTAS] Reduce reset pulse to 100ms

David Woodhouse dwmw2 at infradead.unroutableorg
Thu Nov 9 08:36:39 EST 2006


Commit:     e479da56f4aadff6d735e99de36c56e6e5a17652
Parent:     cfb240271c6c81f927b499b9fec196c5b9e9ad80
commit e479da56f4aadff6d735e99de36c56e6e5a17652
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Thu Nov 9 21:41:02 2006 +0800
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Thu Nov 9 21:41:02 2006 +0800

    [LIBERTAS] Reduce reset pulse to 100ms
    
    Half a second is a bit excessive and we know it works now.
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/net/wireless/libertas/if_usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index fd1bc31..3a35ccd 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -828,7 +828,7 @@ #ifdef CONFIG_OLPC
 		outb(inb(0x383) | 0x40, 0x383); 
 		
 		printk(KERN_CRIT "Resetting OLPC wireless...\n");
-		msleep(500);
+		msleep(100);
 
 		/* Disable output */
 		outb(0xfc, 0x381);


More information about the Commits-kernel mailing list