net: context: Add debug print when context is freed
This is useful info to have when debugging. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
e90f4e1486
commit
7812569e0f
1 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,8 @@ int net_context_unref(struct net_context *context)
|
||||||
|
|
||||||
context->flags &= ~NET_CONTEXT_IN_USE;
|
context->flags &= ~NET_CONTEXT_IN_USE;
|
||||||
|
|
||||||
|
NET_DBG("Context %p released", context);
|
||||||
|
|
||||||
k_sem_give(&contexts_lock);
|
k_sem_give(&contexts_lock);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue