test should be for == 0, not < 0

This commit is contained in:
Alfred Perlstein 2001-04-05 09:47:07 +00:00
parent 0a0869f618
commit 6857ad1f30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75229

View file

@ -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);
}