summaryrefslogtreecommitdiff
path: root/cesar/station/src/station.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/station/src/station.c')
-rw-r--r--cesar/station/src/station.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/cesar/station/src/station.c b/cesar/station/src/station.c
index 402a4a7466..26bc9ff247 100644
--- a/cesar/station/src/station.c
+++ b/cesar/station/src/station.c
@@ -26,8 +26,12 @@ static cesar_t cesar;
cesar_t *
cesar_init (void)
{
+ u32 seed;
trace_init ();
+ /* TODO Get the Seed from the Hal PHY. */
+ seed = 0x0;
+
/* Initialise the mac store. */
cesar.mac_store = mac_store_init ();
@@ -64,7 +68,8 @@ cesar_init (void)
/* Initialise the CP. */
cesar.cp = cp_init (&cesar.mac_config, cesar.interface, cesar.hal_timer,
- cesar.pbproc, cesar.mac_store, cesar.sar, cesar.cl);
+ cesar.pbproc, cesar.mac_store, cesar.sar, cesar.cl,
+ seed);
cesar.rxce = ce_init(cesar.sar);