TDLS: Disable teardown MIC validation workaround
This MIC is required to be correct if the keys are set, so reject the message if it does not have a valid MIC.
This commit is contained in:
parent
9768da202b
commit
d332e7083c
1 changed files with 0 additions and 7 deletions
|
@ -766,14 +766,7 @@ static int wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr,
|
|||
(u8 *) lnkid, ftie) < 0) {
|
||||
wpa_printf(MSG_DEBUG, "TDLS: MIC failure for TDLS "
|
||||
"Teardown Request from " MACSTR, MAC2STR(src_addr));
|
||||
#if 0
|
||||
return -1;
|
||||
#else
|
||||
/* TODO: figure out whether this workaround could be disabled
|
||||
*/
|
||||
wpa_printf(MSG_DEBUG, "TDLS: Workaround - ignore Teardown MIC "
|
||||
"failure");
|
||||
#endif
|
||||
}
|
||||
|
||||
skip_ftie:
|
||||
|
|
Loading…
Reference in a new issue