summaryrefslogtreecommitdiff
path: root/cesar/mac/common/src/store.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/common/src/store.c')
-rw-r--r--cesar/mac/common/src/store.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cesar/mac/common/src/store.c b/cesar/mac/common/src/store.c
index 6705e8c582..4ae58c1290 100644
--- a/cesar/mac/common/src/store.c
+++ b/cesar/mac/common/src/store.c
@@ -613,6 +613,15 @@ mac_store_sta_get_ (mac_store_t *ctx, uint tei __FL)
}
}
+sta_t * ARCH_ILRAM
+mac_store_sta_get_noref_ (mac_store_t *ctx, uint tei __FL)
+{
+ dbg_claim (ctx);
+ dbg_claim (MAC_TEI_IS_STA (tei));
+ mac_store_sta_t *sta = ctx->sta[tei];
+ return sta ? &sta->sta : NULL;
+}
+
void
mac_store_sta_add_ (mac_store_t *ctx, uint tei __FL)
{