Changeset 74965d2 in mainline
- Timestamp:
- 2008-08-24T18:37:45Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b510d52
- Parents:
- 645d9ed2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r645d9ed2 r74965d2 195 195 196 196 call->flags |= IPC_CALL_ANSWERED; 197 198 if (call->flags & IPC_CALL_FORWARDED) { 199 if (call->data.caller_phone) { 200 /* Demasquerade the caller phone. */ 201 call->data.phone = call->data.caller_phone; 202 } 203 } 197 204 198 205 spinlock_lock(&callerbox->lock); … … 396 403 request = list_get_instance(box->answers.next, call_t, link); 397 404 list_remove(&request->link); 398 if (request->data.caller_phone) 399 atomic_dec(&request->data.caller_phone->active_calls); 400 else 401 atomic_dec(&request->data.phone->active_calls); 405 atomic_dec(&request->data.phone->active_calls); 402 406 } else if (!list_empty(&box->calls)) { 403 407 /* Handle requests */
Note:
See TracChangeset
for help on using the changeset viewer.