Receiving an AUTH event means that we successfully authenticated, thus
authorpatrick <patrick@openbsd.org>
Thu, 4 Jan 2018 23:34:06 +0000 (23:34 +0000)
committerpatrick <patrick@openbsd.org>
Thu, 4 Jan 2018 23:34:06 +0000 (23:34 +0000)
commit7a818b26919d6842f7ee03416b597e5f45538e6d
tree37a9bfca0c0c471d549f285eca8fc9b1deb8a87d
parent090644eea0e90f4bfe2f81bf0092f7b7f350fca7
Receiving an AUTH event means that we successfully authenticated, thus
we have to move to the "trying to" ASSOC state.  When association has
finished we will receive an ASSOC event, so that we can move into the
RUN state.  After that point we will receive ethernet packets and the
WPA2 handshake can occur.  The SET_SSID event will now only be used to
bring us back into SCAN when it notes an error, as it often completes
after we have already done the WPA2 handshake and can not be used to
switch between the different states.
sys/dev/ic/bwfm.c