summaryrefslogtreecommitdiff
path: root/cesar/cp/beacon/src/beacon.c
diff options
context:
space:
mode:
authorYacine Belkadi2013-05-29 13:53:58 +0200
committerYacine Belkadi2013-06-06 15:49:10 +0200
commitd19cee4d2bf180a7c6345a70df1e39a36dce619d (patch)
tree255dda71c43c67c6e5241ebfd7afcb7fde681ae3 /cesar/cp/beacon/src/beacon.c
parentde638d4bf01467f57410317c7bfa0b5aae9adb34 (diff)
cesar/{cp/{av,}/beacon,mac/pbproc}: add pbproc_spoc_reset(), refs #4004
Add a pbproc_spoc_reset() that the cp can use to reset SPOC parameters, without having to know what the reset parameters are. This allows to move the knowledge of reset values to the pbproc, and will help for next commits. Refactoring only. No (intended) functional changes.
Diffstat (limited to 'cesar/cp/beacon/src/beacon.c')
-rw-r--r--cesar/cp/beacon/src/beacon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cesar/cp/beacon/src/beacon.c b/cesar/cp/beacon/src/beacon.c
index 7c9cd4a55d..65dddc6afc 100644
--- a/cesar/cp/beacon/src/beacon.c
+++ b/cesar/cp/beacon/src/beacon.c
@@ -896,7 +896,7 @@ cp_beacon_process_untracked_avln (cp_t *ctx)
/* Reset SPOC. */
ctx->beacon.spoc_updated = false;
if (ctx->beacon.spoc_update_interval_ms != 0)
- pbproc_spoc_update (ctx->pbproc, false, 0);
+ pbproc_spoc_reset (ctx->pbproc);
/* Inform BSU. */
bsu_untrack_avln (ctx->bsu);
}