test should be for == 0, not < 0

This commit is contained in:
alfred 2001-04-05 09:47:07 +00:00
parent 9cb4b1eb18
commit cbd5a16cc7

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