Changeset ffa2c8ef in mainline for uspace/srv/net/net/net.c


Ignore:
Timestamp:
2011-01-29T11:36:08Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46b881c
Parents:
64d2b10
Message:

do not intermix low-level IPC methods with async framework methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/net/net.c

    r64d2b10 rffa2c8ef  
    4747#include <str_error.h>
    4848
    49 #include <ipc/ipc.h>
    5049#include <ipc/services.h>
    5150#include <ipc/net.h>
     
    337336                goto out;
    338337       
    339         rc = ipc_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, NULL, NULL);
     338        rc = async_connect_to_me(PHONE_NS, SERVICE_NETWORKING, 0, 0, NULL);
    340339        if (rc != EOK)
    341340                goto out;
     
    686685         *  - Answer the first IPC_M_CONNECT_ME_TO call.
    687686         */
    688         ipc_answer_0(iid, EOK);
     687        async_answer_0(iid, EOK);
    689688       
    690689        while (true) {
Note: See TracChangeset for help on using the changeset viewer.