Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r6b82009 r28a3e74  
    3636
    3737#include <packet_server.h>
     38
    3839#include <align.h>
    3940#include <assert.h>
     
    316317 *                      packet_release_wrapper() function.
    317318 */
    318 int packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
     319int
     320packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
    319321    size_t *answer_count)
    320322{
    321323        packet_t *packet;
    322        
    323         if (!IPC_GET_IMETHOD(*call))
    324                 return EOK;
    325        
     324
    326325        *answer_count = 0;
    327326        switch (IPC_GET_IMETHOD(*call)) {
     327        case IPC_M_PHONE_HUNGUP:
     328                return EOK;
     329       
    328330        case NET_PACKET_CREATE_1:
    329331                packet = packet_get_local(DEFAULT_ADDR_LEN, DEFAULT_PREFIX,
Note: See TracChangeset for help on using the changeset viewer.