diff options
author | alfred <alfred@FreeBSD.org> | 2001-04-05 09:47:07 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-04-05 09:47:07 +0000 |
commit | 41cfa4f5b73e401cb895ad32ad90450cecd7dab1 (patch) | |
tree | a0fb1ab9b2db7268c8bc5119e161a69a5b3d8fbd /sys/dev/wi | |
parent | d86e39313640f3a555e31f18510c9bd25313d504 (diff) | |
download | FreeBSD-src-41cfa4f5b73e401cb895ad32ad90450cecd7dab1.zip FreeBSD-src-41cfa4f5b73e401cb895ad32ad90450cecd7dab1.tar.gz |
test should be for == 0, not < 0
Diffstat (limited to 'sys/dev/wi')
-rw-r--r-- | sys/dev/wi/if_wi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index 7623464..469add8 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -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); } |