mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
TDLS: Fully tear down existing link before setup
Disabling the link only clears the local state. The remote peer will still think we are connected and disallow the setup. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
This commit is contained in:
parent
c04b4651f7
commit
9a41232165
@ -2463,7 +2463,8 @@ void wpa_tdls_remove(struct wpa_sm *sm, const u8 *addr)
|
||||
* Disable previous link to allow renegotiation to be completed
|
||||
* on AP path.
|
||||
*/
|
||||
wpa_tdls_disable_peer_link(sm, peer);
|
||||
wpa_tdls_do_teardown(sm, peer,
|
||||
WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user