Skip to content

Commit

Permalink
fix(rrm) : Fix crash in RRM neighbour report requests.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jgujarathi authored and espressif-bot committed Sep 21, 2023
1 parent f21cbb6 commit a2f24aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/wpa_supplicant/src/common/rrm.c
Expand Up @@ -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 */
Expand Down

0 comments on commit a2f24aa

Please sign in to comment.