In ipw(4), ensure that net80211 is in ASSOC state while we are expecting
authorstsp <stsp@openbsd.org>
Fri, 12 Mar 2021 17:54:50 +0000 (17:54 +0000)
committerstsp <stsp@openbsd.org>
Fri, 12 Mar 2021 17:54:50 +0000 (17:54 +0000)
commitf9fa239a57ce1593140e06d7ebef28aaae54833b
tree89c679be06ff40e7b61be1bd57229c2acb4d2e50
parente0c535b71a714c40ca314da806cae6231f393737
In ipw(4), ensure that net80211 is in ASSOC state while we are expecting
an assoc response from the AP during the association sequence. Otherwise
net80211 would ignore the auth response, resulting in a state mismatch
between firmware and net80211. A symptom of this was that WPA didn't work.

Problem reported and fix tested by Ricardo Mottola
sys/dev/pci/if_ipw.c