Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e701eb1 in mainline


Ignore:
Timestamp:
2009-11-28T14:34:36Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
59ee56f
Parents:
103de761
Message:

Disassociate the phone with the answerbox in cleanup.

File:
1 edited

Legend:

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

    r103de761 re701eb1  
    583583                for (i = 0; i < IPC_MAX_PHONES; i++) {
    584584                        if (TASK->phones[i].state == IPC_PHONE_HUNGUP &&
    585                             atomic_get(&TASK->phones[i].active_calls) == 0)
     585                            atomic_get(&TASK->phones[i].active_calls) == 0) {
    586586                                TASK->phones[i].state = IPC_PHONE_FREE;
     587                                TASK->phones[i].callee = NULL;
     588                        }
    587589                       
    588590                        /* Just for sure, we might have had some
Note: See TracChangeset for help on using the changeset viewer.