summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2007-10-20 04:37:54 +0000
committerkrw <krw@openbsd.org>2007-10-20 04:37:54 +0000
commit8fd4ce21046d0a65996b6b8a1ece9df474ef2e24 (patch)
tree7cbee8e44efe5ee93f6ec1fe3c708f44096d5206 /sys/dev/i2c
parentDO NOT access xs after calling scsi_done(xs). It's not there anymore. (diff)
downloadwireguard-openbsd-8fd4ce21046d0a65996b6b8a1ece9df474ef2e24.tar.xz
wireguard-openbsd-8fd4ce21046d0a65996b6b8a1ece9df474ef2e24.zip
Doh. Setting ITSDONE and returning SUCCESSFULLY_QUEUED just means
there is another splbio()/splx and a check for ITSDONE before falling into the COMPLETE case. So just return COMPLETE if the command has completed (or never started). Simpler all around.
Diffstat (limited to 'sys/dev/i2c')
0 files changed, 0 insertions, 0 deletions