summaryrefslogtreecommitdiff
path: root/cesar/mac/sar/test/functional
diff options
context:
space:
mode:
authorschodet2010-04-19 13:18:51 +0000
committerschodet2010-04-19 13:18:51 +0000
commitb181dc1bc001f6163180c4786baed9a89ae31e61 (patch)
treeb39194b8755b6f98d04314512a9e9f8b9b156677 /cesar/mac/sar/test/functional
parent505f4ad9eb1a4130b63ec6ab31496a2a295b2edb (diff)
cesar: remove context parameter from phy_date and phy_sysdate, refs #1415
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6931 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/mac/sar/test/functional')
-rw-r--r--cesar/mac/sar/test/functional/src/sar_rx.c3
-rw-r--r--cesar/mac/sar/test/functional/src/sar_tx.c3
-rw-r--r--cesar/mac/sar/test/functional/src/test_functions.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/cesar/mac/sar/test/functional/src/sar_rx.c b/cesar/mac/sar/test/functional/src/sar_rx.c
index 455c98bc41..be357930f5 100644
--- a/cesar/mac/sar/test/functional/src/sar_rx.c
+++ b/cesar/mac/sar/test/functional/src/sar_rx.c
@@ -221,7 +221,6 @@ test_thread_process (cyg_addrword_t data)
test_t test;
mac_config_t mac_config;
uint ca;
- uint phy;
uint pbproc;
mac_store_t *mac_store;
u8 *buffer;
@@ -232,7 +231,7 @@ test_thread_process (cyg_addrword_t data)
lib_stats_init ();
/* Initialise the test. */
- mac_ntb_init ((phy_t *) &phy, &mac_config);
+ mac_ntb_init (&mac_config);
mac_store = mac_store_init ();
sar_ctx = sar_init (mac_store, (pbproc_t *) &pbproc, (ca_t *) &ca, 0x1);
sar_activate (sar_ctx, true);
diff --git a/cesar/mac/sar/test/functional/src/sar_tx.c b/cesar/mac/sar/test/functional/src/sar_tx.c
index 220b9a013c..d2c92dd35d 100644
--- a/cesar/mac/sar/test/functional/src/sar_tx.c
+++ b/cesar/mac/sar/test/functional/src/sar_tx.c
@@ -191,7 +191,6 @@ test_thread_process (cyg_addrword_t data)
test_t test;
mac_config_t mac_config;
uint ca;
- uint phy;
uint pbproc;
test_init (test, 0, NULL);
@@ -199,7 +198,7 @@ test_thread_process (cyg_addrword_t data)
lib_stats_init ();
/* Initialise the test. */
- mac_ntb_init ((phy_t *) &phy, &mac_config);
+ mac_ntb_init (&mac_config);
mac_store = mac_store_init ();
sar_ctx = sar_init (mac_store, (pbproc_t *) &pbproc, (ca_t *) &ca, 0x1);
sar_activate (sar_ctx, true);
diff --git a/cesar/mac/sar/test/functional/src/test_functions.c b/cesar/mac/sar/test/functional/src/test_functions.c
index 86acf36f2b..3f9d024e95 100644
--- a/cesar/mac/sar/test/functional/src/test_functions.c
+++ b/cesar/mac/sar/test/functional/src/test_functions.c
@@ -98,7 +98,7 @@ sar_test_init (sar_test_ctx_t *test_ctx)
dbg_assert (test_ctx);
/* Initialise the mac NTB. */
- mac_ntb_init (INVALID_PTR, &test_ctx->mac_config);
+ mac_ntb_init (&test_ctx->mac_config);
/* Initialise the store. */
test_ctx->mac_store = mac_store_init ();