aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2015-04-15 10:28:16 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-25 12:36:41 (GMT)
commitfabc6dd8c47a8fcf0649908490ee22ab9aa794bc (patch)
treecf7049125d2aff6649d336e201d33a164733c3de /src/ap/ieee802_11.c
parentbfcc073caf4c0520163181285ead65d699ff2bb4 (diff)
downloadhostap-fabc6dd8c47a8fcf0649908490ee22ab9aa794bc.zip
hostap-fabc6dd8c47a8fcf0649908490ee22ab9aa794bc.tar.gz
hostap-fabc6dd8c47a8fcf0649908490ee22ab9aa794bc.tar.bz2
mesh: Retransmit the last Commit Message in the Committed state
Previously, mesh state machine transmits updated Commit Message when receiving a Confirm Message in Committed state. According to the standard, it should (re)send the latest Commit Message previously sent. IEEE Std 802.11-2012, 11.3.8.6.4 Protocol instance behavior - Committed state: "Upon receipt of a Con event, ... If Sync is not greater than dot11RSNASAESync, the protocol instance shall increment Sync, transmit the last Commit Message sent to the peer, and set the t0 (retransmission) timer." Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'src/ap/ieee802_11.c')
-rw-r--r--src/ap/ieee802_11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 5b26558..9e7d70d 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -609,7 +609,7 @@ static int sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta,
return WLAN_STATUS_SUCCESS;
sta->sae->sync++;
- ret = auth_sae_send_commit(hapd, sta, bssid, 1);
+ ret = auth_sae_send_commit(hapd, sta, bssid, 0);
if (ret)
return ret;