mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Correct a copy/paste bug in a comment. lptclose() checks once a second to
see if the ppc hardware has gone idle rather than four times a second.
This commit is contained in:
parent
fe1b9e2ada
commit
9599da5de8
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ lptclose(struct cdev *dev, int flags, int fmt, struct thread *td)
|
|||
while ((ppb_rstr(ppbus) &
|
||||
(LPS_SEL|LPS_OUT|LPS_NBSY|LPS_NERR)) !=
|
||||
(LPS_SEL|LPS_NBSY|LPS_NERR) || sc->sc_xfercnt)
|
||||
/* wait 1/4 second, give up if we get a signal */
|
||||
/* wait 1 second, give up if we get a signal */
|
||||
if (ppb_sleep(ppbus, lptdev, LPPRI | PCATCH, "lpclose",
|
||||
hz) != EWOULDBLOCK)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue