Ignore:
Timestamp:
2011-07-08T17:01:01Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc1a727
Parents:
4e36219 (diff), 026793d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r4e36219 rc028b22  
    3636
    3737#include <packet_server.h>
    38 
    3938#include <align.h>
    4039#include <assert.h>
     
    317316 *                      packet_release_wrapper() function.
    318317 */
    319 int
    320 packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
     318int packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
    321319    size_t *answer_count)
    322320{
    323321        packet_t *packet;
    324 
     322       
     323        if (!IPC_GET_IMETHOD(*call))
     324                return EOK;
     325       
    325326        *answer_count = 0;
    326327        switch (IPC_GET_IMETHOD(*call)) {
    327         case IPC_M_PHONE_HUNGUP:
    328                 return EOK;
    329        
    330328        case NET_PACKET_CREATE_1:
    331329                packet = packet_get_local(DEFAULT_ADDR_LEN, DEFAULT_PREFIX,
Note: See TracChangeset for help on using the changeset viewer.