summaryrefslogtreecommitdiff
path: root/cesar/mac/ca/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/ca/src/alloc.c')
-rw-r--r--cesar/mac/ca/src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/mac/ca/src/alloc.c b/cesar/mac/ca/src/alloc.c
index cc6f9ff4d1..368db7c9ce 100644
--- a/cesar/mac/ca/src/alloc.c
+++ b/cesar/mac/ca/src/alloc.c
@@ -127,7 +127,7 @@ ca_alloc_update_beacon_periods (ca_t *ctx,
dbg_assert (beacon_periods);
dbg_assert (beacon_periods_nb > 0
&& beacon_periods_nb < CA_BEACON_PERIOD_NB - 1);
- CA_TRACE (ALLOC_UPDATE_BEACON_PERIODS, phy_date (ctx->phy));
+ CA_TRACE (ALLOC_UPDATE_BEACON_PERIODS, phy_date ());
/* Eliminate expired beacon period from context. */
for (i = ctx->beacon_periods_head;
i != ctx->beacon_periods_tail
@@ -139,7 +139,7 @@ ca_alloc_update_beacon_periods (ca_t *ctx,
current_at_tail = ctx->current_beacon_period == ctx->beacon_periods_tail;
/* First beacon period provided should be the current one (actually, it
* might be the second one...). */
- now = phy_date (ctx->phy);
+ now = phy_date ();
dbg_assert (lesseq_mod2p32 (beacon_periods[0].start_date, now)
&& (beacon_periods_nb < 2
|| less_mod2p32 (now, beacon_periods[1].start_date)));