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

MFC after:	1 week
This commit is contained in:
John Baldwin 2008-01-17 20:11:58 +00:00
parent 6dd0e63233
commit 9a57f6280c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175410

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;