summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-01 20:33:38 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-01 20:33:38 +0000
commit2fa107415737f4f9498cabd974320b51fbd15f33 (patch)
treebab8a1d93b4ca26456a1fd3b8a63243689b681fc /firmware
parent833d0d5ec2a1be5283112de21109256c65c8a07f (diff)
initialize req_ctx state as free.
git-svn-id: https://svn.openpcd.org:2342/trunk@246 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src/os/req_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c
index 4902488..cd33ce4 100644
--- a/firmware/src/os/req_ctx.c
+++ b/firmware/src/os/req_ctx.c
@@ -90,6 +90,7 @@ void req_ctx_init(void)
for (i = 0; i < NUM_RCTX_SMALL; i++) {
req_ctx[i].size = RCTX_SIZE_SMALL;
req_ctx[i].data = rctx_data[i];
+ req_ctx[i].state = RCTX_STATE_FREE;
}
for (i = 0; i < NUM_RCTX_LARGE; i++) {
personal git repositories of Harald Welte. Your mileage may vary