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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue