Drop incoming network packets as long as we are not in RUN state. This
authorpatrick <patrick@openbsd.org>
Fri, 5 Jan 2018 23:13:04 +0000 (23:13 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 5 Jan 2018 23:13:04 +0000 (23:13 +0000)
commit010fb2f1450cf1b53aa55c2d1887a2f058adcfd5
treed323238a4bc0945b712096b25851f562f7c8ec4d
parenta20dcc576f089f5c0b27ab142d27c4db9d630ca0
Drop incoming network packets as long as we are not in RUN state.  This
happens when we successfully associate and the AP tries to initiate the
WPA2 handshake but we haven't received the asynchronous ASSOC event yet.
Dropping the packet will make the AP retry, and at that point we should
have successfully associated.  While there, don't feed the event packets
to our network stack.  It's been helpful for debugging but now it's time
to let go.
sys/dev/ic/bwfm.c