Browse Source

krackattacks: bugfix in hostapd due to merge

Mathy Vanhoef 7 years ago
parent
commit
66add8b6d2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ap/wpa_auth.c

+ 1 - 0
src/ap/wpa_auth.c

@@ -4849,6 +4849,7 @@ int wpa_auth_resend_group_m1(struct wpa_state_machine *sm,
 			/* skip KDE header and keyid */
 			opos += 2 + RSN_SELECTOR_LEN + 2;
 			os_memset(opos, maxrsc ? 0x88 : 0, 6); /* clear PN */
+		}
 		if (pos - opos >=
 		    2 + RSN_SELECTOR_LEN + WPA_IGTK_KDE_PREFIX_LEN) {