summaryrefslogtreecommitdiff
path: root/cesar/mac/pbproc/src
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/mac/pbproc/src')
-rw-r--r--cesar/mac/pbproc/src/fsm_rx_data.c6
-rw-r--r--cesar/mac/pbproc/src/fsm_rx_sound.c3
2 files changed, 3 insertions, 6 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;
}
diff --git a/cesar/mac/pbproc/src/fsm_rx_sound.c b/cesar/mac/pbproc/src/fsm_rx_sound.c
index b0ee05ea9b..756d61dde8 100644
--- a/cesar/mac/pbproc/src/fsm_rx_sound.c
+++ b/cesar/mac/pbproc/src/fsm_rx_sound.c
@@ -47,7 +47,7 @@ pbproc_frso_sound_complete (pbproc_t *ctx, uint tei, uint src,
uint offset_tck, uint flp_tck)
{
dbg_claim (ctx);
- sta_t *sta = mac_store_sta_get (ctx->store, tei);
+ sta_t *sta = mac_store_sta_get_noref (ctx->store, tei);
if (sta)
{
u8 zero_counter = 0;
@@ -75,7 +75,6 @@ pbproc_frso_sound_complete (pbproc_t *ctx, uint tei, uint src,
if (*counter)
(*counter)--;
bool complete = *counter == 0;
- blk_release (sta);
return complete;
}
else