Prevent an iwx(4) firmware error when authentication to the AP times out.
authorstsp <stsp@openbsd.org>
Fri, 23 Dec 2022 11:29:32 +0000 (11:29 +0000)
committerstsp <stsp@openbsd.org>
Fri, 23 Dec 2022 11:29:32 +0000 (11:29 +0000)
commit1d684129fd84085a25f6c445c1de065e1ae8e077
tree059c8e2ced9286d4503af90d9045544d15606676
parentf427670756405b7d795c7ba5fcfb088fdb688f75
Prevent an iwx(4) firmware error when authentication to the AP times out.

Stop session protection before tearing down firmware state after failure
to authenticate. Firmware will panic if we remove the MAC/PHY binding
while session protection is active.

test + ok kevlo@
sys/dev/pci/if_iwx.c