]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/winbond/wblinux.c
Staging: w35und: use msleep() and udelay()
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / wblinux.c
index 4ed45e48831871c494eea1dfac594143fa230794..acf5640484c8b588d5d9217096e0d508ac5acdda 100644 (file)
@@ -128,7 +128,7 @@ WbWlanHalt(  PADAPTER Adapter )
 #ifdef _PE_USB_INI_DUMP_
        WBDEBUG(("[w35und] Hal_stop O.K.\n"));
 #endif
-       OS_SLEEP(100000);// Waiting Irp completed
+       msleep(100);// Waiting Irp completed
 
        // Destroy the NDIS module
        WBLINUX_Destroy( Adapter );
@@ -238,7 +238,7 @@ WbWLanInitialize(PADAPTER Adapter)
 
        // Waiting for HAL setting OK
        while (!hal_idle(pHwData))
-               OS_SLEEP(10000);
+               msleep(10);
 
        MTO_Init(Adapter);