Add iwm/iwx background scan task to the queue which it will be deleted from.
authorstsp <stsp@openbsd.org>
Wed, 5 Jul 2023 15:07:28 +0000 (15:07 +0000)
committerstsp <stsp@openbsd.org>
Wed, 5 Jul 2023 15:07:28 +0000 (15:07 +0000)
commitdaf46e4166c97b4a3f147065d35c32655df04905
treeff0d323b97f3c9555433560b118e075eac38d395
parent70458be1b74c4cd74e7b052f9c9920d3ea5bb1c7
Add iwm/iwx background scan task to the queue which it will be deleted from.

The corresponding task_add and task_del calls were operating on different
queues by mistake. Background scan tasks should now get cancelled properly
during driver state transitions.

ok mvs@
sys/dev/pci/if_iwm.c
sys/dev/pci/if_iwx.c