Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/input.c

    ra46e56b ra35b458  
    320320
    321321/** New client connection */
    322 static void client_connection(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
     322static void client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    323323{
    324324        client_t *client = (client_t *) async_get_client_data();
    325325        if (client == NULL) {
    326                 async_answer_0(icall_handle, ENOMEM);
     326                async_answer_0(iid, ENOMEM);
    327327                return;
    328328        }
    329329
    330         async_answer_0(icall_handle, EOK);
     330        async_answer_0(iid, EOK);
    331331
    332332        while (true) {
    333333                ipc_call_t call;
    334                 cap_call_handle_t chandle = async_get_call(&call);
     334                ipc_callid_t callid = async_get_call(&call);
    335335
    336336                if (!IPC_GET_IMETHOD(call)) {
     
    340340                        }
    341341
    342                         async_answer_0(chandle, EOK);
     342                        async_answer_0(callid, EOK);
    343343                        return;
    344344                }
     
    349349                        if (client->sess == NULL) {
    350350                                client->sess = sess;
    351                                 async_answer_0(chandle, EOK);
     351                                async_answer_0(callid, EOK);
    352352                        } else
    353                                 async_answer_0(chandle, ELIMIT);
     353                                async_answer_0(callid, ELIMIT);
    354354                } else {
    355355                        switch (IPC_GET_IMETHOD(call)) {
     
    357357                                active_client = client;
    358358                                client_arbitration();
    359                                 async_answer_0(chandle, EOK);
     359                                async_answer_0(callid, EOK);
    360360                                break;
    361361                        default:
    362                                 async_answer_0(chandle, EINVAL);
     362                                async_answer_0(callid, EINVAL);
    363363                        }
    364364                }
Note: See TracChangeset for help on using the changeset viewer.