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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user