TDLS: Learn MLD link ID from TDLS Discovery Response
This is needed to be able to determine which link is used for TDLS setup when the current association is with an AP MLD. Signed-off-by: Jouni Malinen <quic_klokere@quicinc.com>
This commit is contained in:
parent
a41c8dbdd8
commit
626501434b
3 changed files with 101 additions and 0 deletions
|
@ -4771,6 +4771,12 @@ static void wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s,
|
|||
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||
"TDLS: Received Discovery Response from " MACSTR,
|
||||
MAC2STR(mgmt->sa));
|
||||
if (wpa_s->valid_links &&
|
||||
wpa_tdls_process_discovery_response(wpa_s->wpa, mgmt->sa,
|
||||
&payload[1], plen - 1))
|
||||
wpa_dbg(wpa_s, MSG_ERROR,
|
||||
"TDLS: Discovery Response process failed for "
|
||||
MACSTR, MAC2STR(mgmt->sa));
|
||||
return;
|
||||
}
|
||||
#endif /* CONFIG_TDLS */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue