aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluckyhacky <github@mail.my-cp.de>2013-12-30 20:58:30 +0100
committerHarald Welte <laforge@gnumonks.org>2015-08-21 01:46:50 +0200
commit6dcdb8945482554160ccade3a68cf23770d11fea (patch)
tree91238ea9f243b69260776e9b130c97e598f220fe
parent59e06e22ee584a7884f339183472ce75b4068008 (diff)
set hyperframe number in struct tdma_time
-rw-r--r--src/tetra_upper_mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tetra_upper_mac.c b/src/tetra_upper_mac.c
index e5b9f30..fdc8c73 100644
--- a/src/tetra_upper_mac.c
+++ b/src/tetra_upper_mac.c
@@ -49,6 +49,7 @@ static void rx_bcast(struct tetra_tmvsap_prim *tmvp, struct tetra_mac_state *tms
memset(&sid, 0, sizeof(sid));
macpdu_decode_sysinfo(&sid, msg->l1h);
+ tmvp->u.unitdata.tdma_time.hn = sid.hyperframe_number;
dl_freq = tetra_dl_carrier_hz(sid.freq_band,
sid.main_carrier,