mesh: Remove GTKdata and IGTKdata from Mesh Peering Confirm/Close
authorJouni Malinen <j@w1.fi>
Tue, 28 Jun 2016 19:23:42 +0000 (22:23 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 28 Jun 2016 19:23:42 +0000 (22:23 +0300)
commitee0ad453d5f68959e911bfee1c0b603984db25c2
tree6e27fec4f76c1c9535b229e67540aef9bd32f2b0
parent09d554d1a64682ac4caff805fb7149a8c23b0b07
mesh: Remove GTKdata and IGTKdata from Mesh Peering Confirm/Close

These optional fields are supposed to be included in the Authenticated
Mesh Peering Exchange element only in Mesh Peering Open frames.
Previously, these were incorrectly included in Mesh Peering
Confirm/Close frames and also required to be present in all these
frames.

While this commit changes the receive processing to ignore the
unexpected extra fields, it should be noted that the previous
implementation required the fields to be present and as such, the fixed
implementation is not compatible with it for secure mesh.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh_rsn.c