Bluetooth: hci_ath: Replace mdelay with msleep in ath_wakeup_ar3k
[linux-2.6-microblaze.git] / drivers / bluetooth / hci_ath.c
index 14ae7ee..d568fbd 100644 (file)
@@ -71,12 +71,12 @@ static int ath_wakeup_ar3k(struct tty_struct *tty)
        /* Clear RTS first */
        tty->driver->ops->tiocmget(tty);
        tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS);
-       mdelay(20);
+       msleep(20);
 
        /* Set RTS, wake up board */
        tty->driver->ops->tiocmget(tty);
        tty->driver->ops->tiocmset(tty, TIOCM_RTS, 0x00);
-       mdelay(20);
+       msleep(20);
 
        status = tty->driver->ops->tiocmget(tty);
        return status;