Ignore:
File:
1 edited

Legend:

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

    r79ae36dd 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),
     
    388385               
    389386                /* End if said to either by the message or the processing result */
    390                 if ((!IPC_GET_IMETHOD(call)) || (res == EHANGUP))
     387                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
     388                    (res == EHANGUP))
    391389                        return;
    392390               
Note: See TracChangeset for help on using the changeset viewer.