Make iwm_newstate() recover from state transition errors.
authorstsp <stsp@openbsd.org>
Thu, 7 Dec 2017 14:12:39 +0000 (14:12 +0000)
committerstsp <stsp@openbsd.org>
Thu, 7 Dec 2017 14:12:39 +0000 (14:12 +0000)
commit6c1bddc001a9e9ebdeded168d1976a2f0eba6d61
tree0b162573ebe750c7b5e5861ecae49790ff7e0cb7
parent3d5ebe16a617e1184e92094a58c07f80e3bc597e
Make iwm_newstate() recover from state transition errors.

On error, we now schedule the init task which will whack the interface when
it gets to run, which prevents the driver from stalling in such situations.

ok phessler@
sys/dev/pci/if_iwm.c