projects
/
project
/
usteer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d3314c
)
measurement: add missing timeout-reset
author
David Bauer
<mail@david-bauer.net>
Mon, 4 Apr 2022 14:27:04 +0000
(16:27 +0200)
committer
David Bauer
<mail@david-bauer.net>
Mon, 4 Apr 2022 15:04:15 +0000
(17:04 +0200)
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>
measurement.c
patch
|
blob
|
history
diff --git
a/measurement.c
b/measurement.c
index c78aae858784b0357d53e7abdb183d241f73b4cd..0c7cde273aee3ceb3fe1904947aed4956e3d11dc 100644
(file)
--- a/
measurement.c
+++ b/
measurement.c
@@
-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;
}