mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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>
This commit is contained in:
parent
bfcc073caf
commit
fabc6dd8c4
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user