measurement: add missing timeout-reset

If the timeout is not reset here, it will expire based on its initial
creation regardless whether it was updated in the meantime.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2022-04-04 16:27:04 +02:00
parent 6d3314ca56
commit 4473c6e6e6

View File

@@ -85,6 +85,9 @@ usteer_measurement_report_add(struct sta *sta, struct usteer_node *node,
mr->rsni = rsni;
mr->rcpi = rcpi;
/* Reset timeout */
usteer_timeout_set(&tq, &mr->timeout, config.measurement_report_timeout);
return mr;
}