diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-07-18 11:56:12 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-07-18 11:56:12 +0000 |
commit | 0d14d9544b153488974f328b0e64a24add22090d (patch) | |
tree | 7966362bc205e06fc430d77ce015bca473e8f581 /sys/dev/midi.c | |
parent | b91ffd95d0f25873a031fe4a3a234ed97a8e9845 (diff) |
Fix wrong usage of iwx_lookup_cmd_ver() in iwx_send_soc_conf().
Callers are supposed to check whether iwx_lookup_cmd_ver() returns
CMD_VER_UNKNOWN, and this check was missing here. Fortunately, the
buggy check was part of a condition which also requires the
low_latency_xtal constant to be set. We do not yet support devices
where low_latency_xtal is non-zero, so the bug never triggered.
Diffstat (limited to 'sys/dev/midi.c')
0 files changed, 0 insertions, 0 deletions