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.
This commit is contained in:
jgujarathi
2023-07-25 15:56:26 +05:30
committed by BOT
parent f21cbb625f
commit a2f24aabe9

View File

@ -147,12 +147,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 */