Prevent KASSERT in iwm(4) if firmware image is missing or corrupt.
authorstsp <stsp@openbsd.org>
Fri, 16 Dec 2022 13:49:35 +0000 (13:49 +0000)
committerstsp <stsp@openbsd.org>
Fri, 16 Dec 2022 13:49:35 +0000 (13:49 +0000)
commitaf25dd1799e11923cc3ccdba8faba2436fe60f26
treed17fe432e1abd5fcde71557f637fbbba8db6355e
parent39105ab6a7bb5cc5288737bae8a94d8ed0786b99
Prevent KASSERT in iwm(4) if firmware image is missing or corrupt.

Same fix as for iwx(4) in CVS commit YakAvDYHWiUF3c4m, r1.113 if_iwx.c.
ok deraadt, mpi
sys/dev/pci/if_iwm.c