|
@@ -4736,8 +4736,9 @@ int wpa_auth_resend_m3(struct wpa_state_machine *sm,
|
|
|
opos = pos;
|
|
|
pos = ieee80211w_kde_add(sm, pos);
|
|
|
if (pos - opos >= WPA_IGTK_KDE_PREFIX_LEN) {
|
|
|
- opos += 2;
|
|
|
- os_memset(opos, 0, 6);
|
|
|
+ poc_log(sm->addr, "Msg 3/4: including IGTK with %s RSC\n", maxrsc ? "max" : "zero");
|
|
|
+ opos += 2 + RSN_SELECTOR_LEN + 2;
|
|
|
+ os_memset(opos, maxrsc ? 0x88 : 0, 6);
|
|
|
}
|
|
|
#endif
|
|
|
|
|
@@ -4843,8 +4844,9 @@ int wpa_auth_resend_group_m1(struct wpa_state_machine *sm,
|
|
|
opos = pos;
|
|
|
pos = ieee80211w_kde_add(sm, pos);
|
|
|
if (pos - opos >= WPA_IGTK_KDE_PREFIX_LEN) {
|
|
|
- opos += 2;
|
|
|
- os_memset(opos, 0, 6);
|
|
|
+ poc_log(sm->addr, "Group message 1: including IGTK with %s RSC\n", maxrsc ? "max" : "zero");
|
|
|
+ opos += 2 + RSN_SELECTOR_LEN + 2;
|
|
|
+ os_memset(opos, maxrsc ? 0x88 : 0, 6);
|
|
|
}
|
|
|
#endif
|
|
|
kde_len = pos - kde;
|