Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/netif/netif_skel.c

    r9934f7d rffa2c8ef  
    5454#include <nil_remote.h>
    5555
    56 // FIXME: remove this header
    57 #include <kernel/ipc/ipc_methods.h>
    58 
    5956DEVICE_MAP_IMPLEMENT(netif_device_map, netif_device_t);
    6057
     
    291288        *count = 0;
    292289       
    293         if (!IPC_GET_IMETHOD(*call))
     290        switch (IPC_GET_IMETHOD(*call)) {
     291        case IPC_M_PHONE_HUNGUP:
    294292                return EOK;
    295293       
    296         switch (IPC_GET_IMETHOD(*call)) {
    297294        case NET_NETIF_PROBE:
    298295                return netif_probe_req_local(0, IPC_GET_DEVICE(*call),
     
    365362 *
    366363 */
    367 static void netif_client_connection(ipc_callid_t iid, ipc_call_t *icall,
    368     void *arg)
     364static void netif_client_connection(ipc_callid_t iid, ipc_call_t *icall)
    369365{
    370366        /*
     
    389385               
    390386                /* End if said to either by the message or the processing result */
    391                 if ((!IPC_GET_IMETHOD(call)) || (res == EHANGUP))
     387                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
     388                    (res == EHANGUP))
    392389                        return;
    393390               
Note: See TracChangeset for help on using the changeset viewer.