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 committed Aug 1, 2023
1 parent 4fc329f commit 0ba37a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/wpa_supplicant/src/common/rrm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0ba37a2

Please sign in to comment.