summaryrefslogtreecommitdiff
path: root/cesar/mac/pbproc/src/fsm_rx_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/pbproc/src/fsm_rx_data.c')
-rw-r--r--cesar/mac/pbproc/src/fsm_rx_data.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cesar/mac/pbproc/src/fsm_rx_data.c b/cesar/mac/pbproc/src/fsm_rx_data.c
index 2b3e4b79d4..5d380d42d0 100644
--- a/cesar/mac/pbproc/src/fsm_rx_data.c
+++ b/cesar/mac/pbproc/src/fsm_rx_data.c
@@ -131,11 +131,10 @@ pbproc_frda__handle (pbproc_t *ctx, u32 rx_date)
{
dbg_claim (wack);
dbg_claim (tmi < TONEMAP_INDEX_NB);
- sta_t *sta = mac_store_sta_get (ctx->store, rx_params->tei);
+ sta_t *sta = mac_store_sta_get_noref (ctx->store, rx_params->tei);
if (sta)
{
tm = sta->rx_tonemaps->tm[tmi];
- blk_release (sta);
rifs_tck = MAC_RIFS_SPC_ANY_TCK;
if (!tm)
{
@@ -198,12 +197,11 @@ pbproc_frda__handle (pbproc_t *ctx, u32 rx_date)
{
if (unassociated)
break;
- sta_t *sta = mac_store_sta_get (ctx->store, rx_params->tei);
+ sta_t *sta = mac_store_sta_get_noref (ctx->store, rx_params->tei);
mac_nek_t *(*nek)[2];
if (sta)
{
nek = sta->nek;
- blk_release (sta);
if (!nek)
nek = &ctx->config->nek_mgr.use;
}