Changeset 314f4b59 in mainline
- Timestamp:
- 2018-03-13T18:01:47Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cdc4334
- Parents:
- df1cbb3
- git-author:
- Jakub Jermar <jakub@…> (2018-01-05 20:40:40)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-13 18:01:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
rdf1cbb3 r314f4b59 440 440 /** Disconnect phone from answerbox. 441 441 * 442 * This call leaves the phone in the HUNGUP state. The change to 'free' is done443 * lazily later.442 * This call leaves the phone in the hung-up state. The phone is destroyed when 443 * its last active call is answered and there are no references to it. 444 444 * 445 445 * @param phone Phone structure to be hung up. … … 755 755 756 756 mutex_lock(&phone->lock); 757 if ((phone->state == IPC_PHONE_HUNGUP) &&758 (atomic_get(&phone->active_calls) == 0)) {759 phone->state = IPC_PHONE_FREE;760 phone->callee = NULL;761 }762 757 763 758 /*
Note:
See TracChangeset
for help on using the changeset viewer.