Use pause(9) instead of a tsleep() on a stack variable.

MFC after:	1 week
This commit is contained in:
jhb 2008-01-17 20:11:58 +00:00
parent 0b88f767fe
commit bc40648c02

View File

@ -3264,7 +3264,7 @@ ndis_scan(void *arg, int npending)
return;
}
tsleep(&error, PWAIT, "ssidscan", hz * 3);
pause("ssidscan", hz * 3);
if (!NDIS_INITIALIZED(sc))
/* The interface was downed while we were sleeping */
return;