OpenBSD cvs log

created 2022-02-13T19:57:06Z
begin 2022-02-08T11:55:19Z
end 2022-02-08T14:24:36Z
path src/sys
commits 1

date 2022-02-08T14:24:36Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Fix a KASSERT in iwm(4) being triggered for the wrong reason.

iwm_wakeup() must initialize the task reference counter only if
resuming the device succeeds. Otherwise, the newstate task will
not be scheduled and hence the ref counter must remain at zero.

Problem observed by + ok kettenis@