Use pause(9) instead of a tsleep() on a stack variable.
MFC after: 1 week
This commit is contained in:
parent
0b88f767fe
commit
bc40648c02
@ -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 New Issue
Block a user