summaryrefslogtreecommitdiff
path: root/test_general/station
diff options
context:
space:
mode:
Diffstat (limited to 'test_general/station')
-rw-r--r--test_general/station/src/int_station.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/test_general/station/src/int_station.c b/test_general/station/src/int_station.c
index e7c9dd1255..b36899ad76 100644
--- a/test_general/station/src/int_station.c
+++ b/test_general/station/src/int_station.c
@@ -51,8 +51,8 @@ int_station_t *int_station_init (void)
int_sta_global.cl
= cl_init (int_sta_global.mac_store, int_sta_global.sar);
-
- int_sta_global.hle = hle_init(int_sta_global.cl);
+
+ int_sta_global.hle = hle_init (int_sta_global.cl);
// Create the Thread for the SAR.
cyg_thread_create (9, &sar_process, (cyg_addrword_t) int_sta_global.sar,
@@ -85,10 +85,11 @@ void int_station_uninit (int_station_t *ctx)
dbg_assert (ctx->hle);
pbproc_activate (ctx->pbproc, false);
+
pbproc_uninit (ctx->pbproc);
sar_uninit (ctx->sar);
cl_uninit (ctx->cl);
- hle_uninit(ctx->hle);
+ hle_uninit (ctx->hle);
blk_release (ctx->mac_config);
@@ -246,12 +247,12 @@ void int_station_link_remove (int_station_t *ctx, uint type, uint bcast,
mfs->rx.head = mfs->rx.head->next;
blk_release_desc ((blk_t *) pb);
}
- }
- // remove the MFS from the sar
- sar_mfs_remove (ctx->sar, mfs);
+ // remove the MFS from the sar
+ sar_mfs_remove (ctx->sar, mfs);
- blk_release (mfs);
+ blk_release (mfs);
+ }
}
/**