[PATCH 4/4] SAE: Fix auth_transaction error handling
Masashi Honma
masashi.honma
Mon Nov 24 18:04:43 PST 2014
If auth_transaction is not commit and confirm, replies with the same
auth_transaction. It causes continuous frame exchange. So reply with commit
message.
Signed-off-by: Masashi Honma <masashi.honma at gmail.com>
---
src/ap/ieee802_11.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 66d39ad..a12529e 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -733,6 +733,8 @@ static void handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta,
HOSTAPD_LEVEL_DEBUG,
"unexpected SAE authentication transaction %u",
auth_transaction);
+ auth_transaction = 1;
+ data = auth_build_sae_commit(hapd, sta, 0);
resp = WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION;
}
--
1.9.1
More information about the Hostap
mailing list