hostapd: fix auth encryption
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 26 Jul 2009 18:15:47 +0000 (21:15 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jul 2009 18:15:47 +0000 (21:15 +0300)
hostapd currently tries to encrypt all auth frames,
except for "OPEN" and "SHARED with transaction 3".
This means that it will send an encrypted "unknown
auth algorithm" reply for all other algorithsm. Fix
this by changing the logic to only encrypt shared
key auth frames with transaction 3.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

No differences found