summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cesar/bsu/aclf/src/aclf.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/cesar/bsu/aclf/src/aclf.c b/cesar/bsu/aclf/src/aclf.c
index 14af5d23af..0af61dae6a 100644
--- a/cesar/bsu/aclf/src/aclf.c
+++ b/cesar/bsu/aclf/src/aclf.c
@@ -290,15 +290,11 @@ bsu_aclf_compute_beacon_period_start_date (bsu_aclf_t *ctx, const u32 bts_ntb,
/* BTO is valid use it to compute. */
if (bto[i] != HPAV_BEACON_BTO_INVALID)
ctx->bpsd[i+1] = reference + bto[i];
- /* BTO is not valid, take the difference from the previous beacon
- * period. */
else
- ctx->bpsd[i+1] = ctx->bpsd[i]
- + (ctx->bpsd[i] - ctx->bpsd[i-1]);
+ ctx->bpsd[i+1] = reference;
}
else
- ctx->bpsd[i+1] = ctx->bpsd[i]
- + (ctx->bpsd[i] - ctx->bpsd[i-1]);
+ ctx->bpsd[i+1] = reference;
}
ctx->beacon_period_tck = ctx->bpsd[1] - ctx->bpsd[0];
}