mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw.git
synced 2025-11-02 13:03:26 +00:00
kpi: Fix wrong counters incremented in RAB Release Failed List
Thouse counters are already incremented somewhere else, when Setup-or-modify is answered with a failure. This list is for RABs which failed to release, and the correct counter is already being incremented above. Change-Id: I0bcb70ca18078bb9201ce6cbf4ea81c05ae4ea68
This commit is contained in:
@@ -382,11 +382,9 @@ static void kpi_ranap_process_ul_rab_ass_resp(struct hnbgw_context_map *map, ran
|
||||
/* differentiate modify / activate */
|
||||
switch (map->rab_state[rab_id]) {
|
||||
case RAB_STATE_ACT_REQ:
|
||||
HNBP_CTR_INC(hnbp, map->is_ps ? HNB_CTR_RANAP_PS_RAB_ACT_FAIL : HNB_CTR_RANAP_CS_RAB_ACT_FAIL);
|
||||
map->rab_state[rab_id] = RAB_STATE_INACTIVE;
|
||||
break;
|
||||
case RAB_STATE_ACTIVE:
|
||||
HNBP_CTR_INC(hnbp, map->is_ps ? HNB_CTR_RANAP_PS_RAB_MOD_FAIL : HNB_CTR_RANAP_CS_RAB_MOD_FAIL);
|
||||
// FIXME: does it remain active after modification failure?
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user