Changeset a36f442 in mainline


Ignore:
Timestamp:
2018-03-13T18:01:48Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67f11a0
Parents:
aadde10
git-author:
Jakub Jermar <jakub@…> (2018-03-12 17:25:49)
git-committer:
Jakub Jermar <jakub@…> (2018-03-13 18:01:48)
Message:

Account the active call to callerbox if it exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    raadde10 ra36f442  
    351351        } else {
    352352                atomic_inc(&phone->active_calls);
    353                 atomic_inc(&caller->answerbox.active_calls);
     353                if (call->callerbox)
     354                        atomic_inc(&call->callerbox->active_calls);
     355                else
     356                        atomic_inc(&caller->answerbox.active_calls);
    354357                kobject_add_ref(phone->kobject);
    355358                call->sender = caller;
Note: See TracChangeset for help on using the changeset viewer.