From 0ba37a2b85b32c7161fc7311309a4ff1929433ce Mon Sep 17 00:00:00 2001 From: jgujarathi Date: Tue, 25 Jul 2023 15:56:26 +0530 Subject: [PATCH] fix(rrm) : Fix crash in RRM neighbour report requests. Fix crash in sending new RRM neighbour report requests by removing the call to neighbour report request timeout callback in case of already ongoing neighbour report request timer. --- components/wpa_supplicant/src/common/rrm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/wpa_supplicant/src/common/rrm.c b/components/wpa_supplicant/src/common/rrm.c index dc7a2aec2542..085f52facb57 100644 --- a/components/wpa_supplicant/src/common/rrm.c +++ b/components/wpa_supplicant/src/common/rrm.c @@ -150,12 +150,9 @@ int wpas_rrm_send_neighbor_rep_request(struct wpa_supplicant *wpa_s, /* Refuse if there's a live request */ if (wpa_s->rrm.notify_neighbor_rep) { - wpas_rrm_neighbor_rep_timeout_handler(&wpa_s->rrm, NULL); -#if 0 wpa_dbg(wpa_s, MSG_DEBUG, "RRM: Currently handling previous Neighbor Report."); return -EBUSY; -#endif } /* 3 = action category + action code + dialog token */