test should be for == 0, not < 0
This commit is contained in:
parent
9cb4b1eb18
commit
cbd5a16cc7
@ -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 New Issue
Block a user