mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 13:15:05 +00:00
test should be for == 0, not < 0
This commit is contained in:
parent
0a0869f618
commit
6857ad1f30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75229
|
@ -776,7 +776,7 @@ static int wi_cmd(sc, cmd, val)
|
|||
}
|
||||
DELAY(10*1000); /* 10 m sec */
|
||||
}
|
||||
if (i < 0) {
|
||||
if (i == 0) {
|
||||
return(ETIMEDOUT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue