mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
Previously, this flag was cleared only in case of failed GO Negotiation. That could leave the flag set for a peer and if a new group formation was performed with the same peer before the entry expired, there was increased risk of getting stuck in a state where neither peer replied to a GO Negotiation Request frame if a GO Negotiation Response frame with Status 1 was dropped. The error sequence could happen in the go_neg_with_bss_connected test case when timing was suitable to make the second GO negotiation drop a pending TX Action frame if the GO Negotiation Response with Status 1 was scheduled for transmission during a P2P scan and P2P_CONNECT was issued before that scan got aborted. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>