mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
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:
@ -147,12 +147,9 @@ int wpas_rrm_send_neighbor_rep_request(struct wpa_supplicant *wpa_s,
|
|||||||
|
|
||||||
/* Refuse if there's a live request */
|
/* Refuse if there's a live request */
|
||||||
if (wpa_s->rrm.notify_neighbor_rep) {
|
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,
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
"RRM: Currently handling previous Neighbor Report.");
|
"RRM: Currently handling previous Neighbor Report.");
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 3 = action category + action code + dialog token */
|
/* 3 = action category + action code + dialog token */
|
||||||
|
Reference in New Issue
Block a user