mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 14:28:33 +03:00
req_ctx: Fix allocation (allocate 1 block, not all) and call _init()
This commit is contained in:
@@ -52,6 +52,7 @@ req_ctx_find_get(int large, uint32_t old_state, uint32_t new_state)
|
||||
if (req_ctx[i].state == old_state) {
|
||||
toReturn = &req_ctx[i];
|
||||
toReturn->state = new_state;
|
||||
break;
|
||||
}
|
||||
}
|
||||
local_irq_restore(flags);
|
||||
|
||||
Reference in New Issue
Block a user