diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2022-07-08 20:47:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2022-07-08 20:47:25 +0000 |
commit | bebaac5b8031ea182e973248426f9f9f20b1523f (patch) | |
tree | af8291d88122bfa78c22587dfb0c2e819a2da265 /sys/dev/usb/if_wi_usb.c | |
parent | 1c47409c702d965373f525a9d584bcd3b0c59af6 (diff) |
Add a missing check for negative tv_sec when setting the timeout.
Also clear the entire timeout if the remaining time becomes negative
instead of just clearing tv_sec or tv_nsec. OK cheloha@.
Diffstat (limited to 'sys/dev/usb/if_wi_usb.c')
0 files changed, 0 insertions, 0 deletions