summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaranjeiro2010-07-06 10:12:19 +0000
committerlaranjeiro2010-07-06 10:12:19 +0000
commit8c8ea60f7dbb1503d8ebe4a79bb25b37b9cc0a0c (patch)
treef5297ba2f7ed119a1d9540ea1543f56eb16ed68c
parentc30516d556adb8cfc000da4b00ce7d3b74a182db (diff)
cesar/bsu: fix unit test, initialise a rx beacon parameters
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7270 017c9cb6-072f-447c-8318-d5b54f68fe89
-rw-r--r--cesar/bsu/test/utest/src/bsut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cesar/bsu/test/utest/src/bsut.c b/cesar/bsu/test/utest/src/bsut.c
index 3110019989..86b27dd7cd 100644
--- a/cesar/bsu/test/utest/src/bsut.c
+++ b/cesar/bsu/test/utest/src/bsut.c
@@ -135,6 +135,7 @@ test_case_bsu_process (test_t test)
pb_beacon_t *b;
pbproc_tx_beacon_params_t btx;
pbproc_rx_beacon_params_t brx;
+ memset (&brx, 0, sizeof (pbproc_rx_beacon_params_t));
brx.snid = 0x2;
b = bsu_beacon_write (&beacon, BSU_BEACON_TYPE_CENTRAL, &t.mac_config,
&btx);
@@ -176,6 +177,7 @@ test_case_bsu_process (test_t test)
pb_beacon_t *b;
pbproc_tx_beacon_params_t btx;
pbproc_rx_beacon_params_t brx;
+ memset (&brx, 0, sizeof (pbproc_rx_beacon_params_t));
brx.snid = 0x3;
b = bsu_beacon_write (&beacon, BSU_BEACON_TYPE_DISCOVER,
&t.mac_config, &btx);