Set RRM used config if the (Re)Association Request frame has RRM IE

Set the sme RRM used config if the RRM element is present in the
(Re)Association Request frame sent in association event to cover the
cases where the driver SME takes care of negotiating RRM capabilities.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Kiran Kumar Lokere 2023-06-08 12:30:02 -07:00 committed by Jouni Malinen
parent a50d1ea6a2
commit 4636476b7f

View file

@ -3143,6 +3143,8 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s,
resp_elems.he_capabilities;
wpa_s->connection_eht = req_elems.eht_capabilities &&
resp_elems.eht_capabilities;
if (req_elems.rrm_enabled)
wpa_s->rrm.rrm_used = 1;
}
}