Changeset 5b7e17e in mainline


Ignore:
Timestamp:
2018-03-12T17:25:49Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Children:
e9e4068
Parents:
9f8a9627
Message:

Account the active call to callerbox if it exists

File:
1 edited

Legend:

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

    r9f8a9627 r5b7e17e  
    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.