mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 15:15:01 +00:00
Use pause(9) instead of a tsleep() on a stack variable.
MFC after: 1 week
This commit is contained in:
parent
6dd0e63233
commit
9a57f6280c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175410
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue