From 106e976f214b76187ba08fc7bf963e7187a0616b Mon Sep 17 00:00:00 2001 From: laranjeiro Date: Mon, 17 May 2010 10:02:38 +0000 Subject: cesar/cp/beacon: fix beacon processing * intialise the bsu beacon strcuture to read the beacon in process_tracked_avln * add the mac address bentry to be present. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7068 017c9cb6-072f-447c-8318-d5b54f68fe89 --- cesar/cp/beacon/src/beacon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cesar') diff --git a/cesar/cp/beacon/src/beacon.c b/cesar/cp/beacon/src/beacon.c index d62ea3bbf6..81434af017 100644 --- a/cesar/cp/beacon/src/beacon.c +++ b/cesar/cp/beacon/src/beacon.c @@ -262,6 +262,7 @@ cp_beacon_fill_share_memory (cp_t *ctx) beacon->bmis.relocation.present = false; beacon->bmis.aclsc.present = false; beacon->bmis.cns.present = false; + beacon->bmis.mac_address_present.present = true; return beacon; } @@ -793,7 +794,7 @@ cp_beacon_process_tracked_avln (cp_t *ctx, cp_beacon_desc_t *beacon_desc, dbg_assert (ctx); dbg_assert (beacon_desc); dbg_assert (net); - + memset (&beacon_data, 0, sizeof (bsu_beacon_t)); bsu_params_t *bsu_params = &beacon_desc->payload->bsu_params; bsu_beacon_read ((pb_beacon_t*)beacon_desc, &beacon_data, &type, -- cgit v1.2.3