]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Set RRM used config if the (Re)Association Request frame has RRM IE
authorKiran Kumar Lokere <quic_klokere@quicinc.com>
Thu, 8 Jun 2023 19:30:02 +0000 (12:30 -0700)
committerJouni Malinen <j@w1.fi>
Tue, 18 Jul 2023 13:40:59 +0000 (16:40 +0300)
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>
wpa_supplicant/events.c

index e7aaa1a128423623cfa001dcbe57ab0bf61764ed..9db6c14a3d999cba26a631e5103e86779f8baa61 100644 (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;
                }
        }