[PATCH v2 4/4] mesh: Fix auth_transaction error handling
Masashi Honma
masashi.honma
Fri Nov 28 01:56:57 PST 2014
If auth_transaction is not commit and confirm, replies with the same
auth_transaction. It causes continuous frame exchange. So just drop it on mesh.
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 8e04dfa..db9f359 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -739,6 +739,8 @@ static void handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta,
HOSTAPD_LEVEL_DEBUG,
"unexpected SAE authentication transaction %u",
auth_transaction);
+ if (hapd->conf->mesh & MESH_ENABLED)
+ return;
resp = WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION;
}
--
1.9.1
More information about the Hostap
mailing list