Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/serial_console.c

    r9934f7d r4f14e1f8  
    5252#include "serial_console.h"
    5353
    54 // FIXME: remove this header
    55 #include <kernel/ipc/ipc_methods.h>
    56 
    5754#define MAX_CONTROL 20
    5855
     
    315312 * Main function of the thread serving client connections.
    316313 */
    317 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
     314void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall)
    318315{
    319316        keyfield_t *interbuf = NULL;
     
    347344                int retval;
    348345               
    349                 if (!IPC_GET_IMETHOD(call)) {
     346                switch (IPC_GET_IMETHOD(call)) {
     347                case IPC_M_PHONE_HUNGUP:
    350348                        client_connected = 0;
    351349                        async_answer_0(callid, EOK);
     
    353351                        /* Exit thread */
    354352                        return;
    355                 }
    356                
    357                 switch (IPC_GET_IMETHOD(call)) {
    358353                case IPC_M_SHARE_OUT:
    359354                        /* We accept one area for data interchange */
Note: See TracChangeset for help on using the changeset viewer.